mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
32 lines
846 B
C#
32 lines
846 B
C#
|
|
/************************************************/
|
|
/* */
|
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
|
/* https://github.com/monitor1394 */
|
|
/* */
|
|
/************************************************/
|
|
|
|
using UnityEngine;
|
|
|
|
namespace XCharts
|
|
{
|
|
[AddComponentMenu("XCharts/RingChart", 20)]
|
|
[ExecuteInEditMode]
|
|
[RequireComponent(typeof(RectTransform))]
|
|
[DisallowMultipleComponent]
|
|
public partial class RingChart : BaseChart
|
|
{
|
|
|
|
#if UNITY_EDITOR
|
|
protected override void Reset()
|
|
{
|
|
base.Reset();
|
|
title.text = "RingChart";
|
|
tooltip.type = Tooltip.Type.Line;
|
|
RemoveData();
|
|
SerieTemplate.AddDefaultRingSerie(this, "serie1");
|
|
}
|
|
#endif
|
|
}
|
|
}
|