33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
|
using XCharts.Runtime;
|
||
|
|
||
|
namespace XCharts.Editor
|
||
|
{
|
||
|
[SerieEditor(typeof(Pie))]
|
||
|
public class PieEditor : SerieEditor<Pie>
|
||
|
{
|
||
|
public override void OnCustomInspectorGUI()
|
||
|
{
|
||
|
PropertyField("m_GridIndex");
|
||
|
PropertyField("m_RoseType");
|
||
|
PropertyField("m_Gap");
|
||
|
PropertyTwoFiled("m_Center");
|
||
|
PropertyTwoFiled("m_Radius");
|
||
|
PropertyField("m_AvoidLabelOverlap");
|
||
|
PropertyFiledMore(() =>
|
||
|
{
|
||
|
PropertyField("m_MaxCache");
|
||
|
PropertyField("m_MinAngle");
|
||
|
PropertyField("m_MinRadius");
|
||
|
PropertyField("m_RoundCap");
|
||
|
PropertyField("m_Ignore");
|
||
|
PropertyField("m_IgnoreValue");
|
||
|
PropertyField("m_ClickOffset");
|
||
|
PropertyField("m_RadiusGradient");
|
||
|
PropertyField("m_MinShowLabel");
|
||
|
PropertyField("m_MinShowLabelValue");
|
||
|
});
|
||
|
PropertyField("m_ItemStyle");
|
||
|
PropertyField("m_Animation");
|
||
|
}
|
||
|
}
|
||
|
}
|