mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 13:30:10 +00:00
28 lines
849 B
C#
28 lines
849 B
C#
using XCharts.Runtime;
|
|
|
|
namespace XCharts.Editor
|
|
{
|
|
[SerieEditor(typeof(Pie))]
|
|
public class PieEditor : SerieEditor<Pie>
|
|
{
|
|
public override void OnCustomInspectorGUI()
|
|
{
|
|
PropertyField("m_RoseType");
|
|
PropertyField("m_Gap");
|
|
PropertyTwoFiled("m_Center");
|
|
PropertyTwoFiled("m_Radius");
|
|
PropertyField("m_AvoidLabelOverlap");
|
|
PropertyFiledMore(() =>
|
|
{
|
|
PropertyField("m_MinAngle");
|
|
PropertyField("m_MinRadius");
|
|
PropertyField("m_RoundCap");
|
|
PropertyField("m_Ignore");
|
|
PropertyField("m_IgnoreValue");
|
|
PropertyField("m_ClickOffset");
|
|
});
|
|
PropertyField("m_ItemStyle");
|
|
PropertyField("m_Animation");
|
|
}
|
|
}
|
|
} |