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(Scatter))]
|
|
|
|
|
public class ScatterEditor : SerieEditor<Scatter>
|
|
|
|
|
{
|
|
|
|
|
public override void OnCustomInspectorGUI()
|
|
|
|
|
{
|
|
|
|
|
if (serie.IsUseCoord<SingleAxisCoord>())
|
|
|
|
|
{
|
|
|
|
|
PropertyField("m_SingleAxisIndex");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PropertyField("m_XAxisIndex");
|
|
|
|
|
PropertyField("m_YAxisIndex");
|
|
|
|
|
}
|
|
|
|
|
PropertyField("m_Clip");
|
|
|
|
|
|
2021-12-28 08:18:24 +08:00
|
|
|
PropertyField("m_Symbol");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_ItemStyle");
|
|
|
|
|
PropertyField("m_Animation");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|