설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PieEditor.cs 755B

1234567891011121314151617181920212223242526
  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. });
  21. PropertyField("m_ItemStyle");
  22. PropertyField("m_Animation");
  23. }
  24. }
  25. }