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(Heatmap))]
|
|
|
|
|
public class HeatmapEditor : SerieEditor<Heatmap>
|
|
|
|
|
{
|
|
|
|
|
public override void OnCustomInspectorGUI()
|
|
|
|
|
{
|
2022-09-20 13:16:22 +08:00
|
|
|
if (serie.IsUseCoord<PolarCoord>())
|
|
|
|
|
{
|
|
|
|
|
PropertyField("m_PolarIndex");
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PropertyField("m_XAxisIndex");
|
|
|
|
|
PropertyField("m_YAxisIndex");
|
|
|
|
|
}
|
2022-09-06 07:22:04 +08:00
|
|
|
PropertyField("m_HeatmapType");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_Ignore");
|
|
|
|
|
PropertyField("m_IgnoreValue");
|
|
|
|
|
|
2022-09-06 13:12:50 +08:00
|
|
|
PropertyField("m_Symbol");
|
2021-11-23 13:20:07 +08:00
|
|
|
PropertyField("m_ItemStyle");
|
|
|
|
|
PropertyField("m_Animation");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|