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(Ring))]
|
|
|
|
|
public class RingEditor : SerieEditor<Ring>
|
|
|
|
|
{
|
|
|
|
|
public override void OnCustomInspectorGUI()
|
|
|
|
|
{
|
|
|
|
|
PropertyTwoFiled("m_Center");
|
|
|
|
|
PropertyTwoFiled("m_Radius");
|
|
|
|
|
PropertyField("m_StartAngle");
|
2022-03-04 22:17:32 +08:00
|
|
|
PropertyField("m_Gap");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_RoundCap");
|
|
|
|
|
PropertyField("m_Clockwise");
|
2023-08-04 08:26:21 +08:00
|
|
|
PropertyField("m_AvoidLabelOverlap");
|
2021-11-23 13:20:07 +08:00
|
|
|
|
|
|
|
|
PropertyField("m_ItemStyle");
|
|
|
|
|
PropertyField("m_Animation");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|