Files
ZHGD_Web/SelfPackages/XCharts/Editor/Series/HeatmapEditor.cs

30 lines
780 B
C#
Raw Normal View History

2025-07-13 23:16:20 +08:00
using XCharts.Runtime;
namespace XCharts.Editor
{
[SerieEditor(typeof(Heatmap))]
public class HeatmapEditor : SerieEditor<Heatmap>
{
public override void OnCustomInspectorGUI()
{
if (serie.IsUseCoord<PolarCoord>())
{
PropertyField("m_PolarIndex");
}
else
{
PropertyField("m_XAxisIndex");
PropertyField("m_YAxisIndex");
}
PropertyField("m_HeatmapType");
PropertyField("m_Ignore");
PropertyField("m_IgnoreValue");
PropertyField("m_MaxCache");
PropertyField("m_Symbol");
PropertyField("m_ItemStyle");
PropertyField("m_Animation");
}
}
}