Files
XCharts/Editor/Series/PieEditor.cs

33 lines
1.1 KiB
C#
Raw Normal View History

2022-02-19 22:37:57 +08:00
using XCharts.Runtime;
2021-12-24 13:33:09 +08:00
namespace XCharts.Editor
2021-11-23 13:20:07 +08:00
{
[SerieEditor(typeof(Pie))]
public class PieEditor : SerieEditor<Pie>
{
public override void OnCustomInspectorGUI()
{
2023-08-29 18:30:11 +08:00
PropertyField("m_GridIndex");
2021-11-23 13:20:07 +08:00
PropertyField("m_RoseType");
2022-03-04 22:17:32 +08:00
PropertyField("m_Gap");
2021-11-23 13:20:07 +08:00
PropertyTwoFiled("m_Center");
PropertyTwoFiled("m_Radius");
2022-06-16 08:14:02 +08:00
PropertyField("m_AvoidLabelOverlap");
2021-12-11 18:26:28 +08:00
PropertyFiledMore(() =>
{
2023-09-03 21:43:38 +08:00
PropertyField("m_MaxCache");
2021-12-11 18:26:28 +08:00
PropertyField("m_MinAngle");
PropertyField("m_MinRadius");
2021-12-11 18:26:28 +08:00
PropertyField("m_RoundCap");
PropertyField("m_Ignore");
PropertyField("m_IgnoreValue");
PropertyField("m_ClickOffset");
PropertyField("m_RadiusGradient");
PropertyField("m_MinShowLabel");
PropertyField("m_MinShowLabelValue");
2021-12-11 18:26:28 +08:00
});
2021-11-23 13:20:07 +08:00
PropertyField("m_ItemStyle");
PropertyField("m_Animation");
}
}
}