2021-11-23 13:20:07 +08:00
|
|
|
|
2021-12-24 13:33:09 +08:00
|
|
|
|
|
|
|
|
namespace XCharts.Editor
|
2021-11-23 13:20:07 +08:00
|
|
|
{
|
|
|
|
|
[SerieEditor(typeof(Ring))]
|
|
|
|
|
public class RingEditor : SerieEditor<Ring>
|
|
|
|
|
{
|
|
|
|
|
public override void OnCustomInspectorGUI()
|
|
|
|
|
{
|
|
|
|
|
PropertyTwoFiled("m_Center");
|
|
|
|
|
PropertyTwoFiled("m_Radius");
|
|
|
|
|
PropertyField("m_StartAngle");
|
|
|
|
|
PropertyField("m_RingGap");
|
|
|
|
|
PropertyField("m_RoundCap");
|
|
|
|
|
PropertyField("m_Clockwise");
|
|
|
|
|
|
2021-12-28 08:18:24 +08:00
|
|
|
PropertyField("m_TitleStyle");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_ItemStyle");
|
|
|
|
|
PropertyField("m_Animation");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|