3.0 - bar chart

This commit is contained in:
monitor1394
2022-01-13 21:45:59 +08:00
parent 0282dae582
commit c9addaf02c
22 changed files with 195 additions and 106 deletions

View File

@@ -38,6 +38,7 @@ namespace XCharts.Editor
PropertyField("m_Large");
PropertyField("m_LargeThreshold");
PropertyField("m_Clip");
PropertyField("m_PlaceHolder");
});
PropertyField("m_ItemStyle");
PropertyField("m_Animation");

View File

@@ -160,6 +160,8 @@ namespace XCharts.Editor
{
editor.serie.AddExtraComponent(type);
RefreshEditors();
chart.RefreshAllComponent();
EditorUtility.SetDirty(chart);
}, size == 0));
}
foreach (var type in attribute.types)
@@ -169,6 +171,8 @@ namespace XCharts.Editor
{
editor.serie.RemoveExtraComponent(type);
RefreshEditors();
chart.RefreshAllComponent();
EditorUtility.SetDirty(chart);
}, size > 0));
}
}