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()
|
|
|
|
|
{
|
|
|
|
|
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(() =>
|
|
|
|
|
{
|
|
|
|
|
PropertyField("m_MinAngle");
|
|
|
|
|
PropertyField("m_RoundCap");
|
|
|
|
|
PropertyField("m_Ignore");
|
|
|
|
|
PropertyField("m_IgnoreValue");
|
|
|
|
|
});
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_ItemStyle");
|
|
|
|
|
PropertyField("m_Animation");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|