mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-26 02:40:13 +00:00
57 lines
1.9 KiB
C#
57 lines
1.9 KiB
C#
/************************************************/
|
|
/* */
|
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
|
/* https://github.com/monitor1394 */
|
|
/* */
|
|
/************************************************/
|
|
|
|
using UnityEngine;
|
|
|
|
namespace XCharts
|
|
{
|
|
[SerieEditor(typeof(Line))]
|
|
public class LineEditor : SerieEditor<Line>
|
|
{
|
|
public override void OnCustomInspectorGUI()
|
|
{
|
|
PropertyField("m_Stack");
|
|
if (serie.IsUseCoord<PolarCoord>())
|
|
{
|
|
PropertyField("m_PolarIndex");
|
|
}
|
|
else
|
|
{
|
|
PropertyField("m_XAxisIndex");
|
|
PropertyField("m_YAxisIndex");
|
|
}
|
|
PropertyField("m_LineType");
|
|
PropertyFiledMore(() =>
|
|
{
|
|
PropertyFieldLimitMin("m_MinShow", 0);
|
|
PropertyFieldLimitMin("m_MaxShow", 0);
|
|
PropertyFieldLimitMin("m_MaxCache", 0);
|
|
PropertyField("m_SampleDist");
|
|
PropertyField("m_SampleType");
|
|
PropertyField("m_SampleAverage");
|
|
PropertyField("m_Ignore");
|
|
PropertyField("m_IgnoreValue");
|
|
PropertyField("m_IgnoreLineBreak");
|
|
PropertyField("m_ShowAsPositiveNumber");
|
|
PropertyField("m_Large");
|
|
PropertyField("m_LargeThreshold");
|
|
PropertyField("m_Clip");
|
|
});
|
|
PropertyField("m_Symbol");
|
|
PropertyField("m_LineStyle");
|
|
PropertyField("m_LineArrow");
|
|
PropertyField("m_AreaStyle");
|
|
|
|
PropertyField("m_ItemStyle");
|
|
PropertyField("m_IconStyle");
|
|
PropertyField("m_Label");
|
|
PropertyField("m_LabelLine");
|
|
PropertyField("m_Emphasis");
|
|
PropertyField("m_Animation");
|
|
}
|
|
}
|
|
} |