暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PieEditor.cs 803B

123456789101112131415161718192021222324252627
  1. using XCharts.Runtime;
  2. namespace XCharts.Editor
  3. {
  4. [SerieEditor(typeof(Pie))]
  5. public class PieEditor : SerieEditor<Pie>
  6. {
  7. public override void OnCustomInspectorGUI()
  8. {
  9. PropertyField("m_RoseType");
  10. PropertyField("m_Gap");
  11. PropertyTwoFiled("m_Center");
  12. PropertyTwoFiled("m_Radius");
  13. PropertyField("m_AvoidLabelOverlap");
  14. PropertyFiledMore(() =>
  15. {
  16. PropertyField("m_MinAngle");
  17. PropertyField("m_RoundCap");
  18. PropertyField("m_Ignore");
  19. PropertyField("m_IgnoreValue");
  20. PropertyField("m_ClickOffset");
  21. });
  22. PropertyField("m_ItemStyle");
  23. PropertyField("m_Animation");
  24. }
  25. }
  26. }