mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 01:40:06 +00:00
3.0 - unitypackage
This commit is contained in:
28
Editor/Series/PieEditor.cs
Normal file
28
Editor/Series/PieEditor.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
namespace XCharts.Editor
|
||||
{
|
||||
[SerieEditor(typeof(Pie))]
|
||||
public class PieEditor : SerieEditor<Pie>
|
||||
{
|
||||
public override void OnCustomInspectorGUI()
|
||||
{
|
||||
PropertyField("m_RoseType");
|
||||
PropertyField("m_Space");
|
||||
PropertyTwoFiled("m_Center");
|
||||
PropertyTwoFiled("m_Radius");
|
||||
|
||||
PropertyFiledMore(() =>
|
||||
{
|
||||
PropertyField("m_MinAngle");
|
||||
PropertyField("m_RoundCap");
|
||||
PropertyField("m_Ignore");
|
||||
PropertyField("m_IgnoreValue");
|
||||
PropertyField("m_AvoidLabelOverlap");
|
||||
});
|
||||
|
||||
PropertyField("m_ItemStyle");
|
||||
PropertyField("m_Animation");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user