2021-01-11 08:54:28 +08:00
|
|
|
|
/************************************************/
|
|
|
|
|
|
/* */
|
|
|
|
|
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
|
|
|
|
|
/* https://github.com/monitor1394 */
|
|
|
|
|
|
/* */
|
|
|
|
|
|
/************************************************/
|
2019-10-22 04:09:04 +08:00
|
|
|
|
|
|
|
|
|
|
using UnityEditor;
|
2019-05-11 04:33:54 +08:00
|
|
|
|
|
|
|
|
|
|
namespace XCharts
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Editor class used to edit UI LineChart.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[CustomEditor(typeof(LineChart), false)]
|
|
|
|
|
|
public class LineChartEditor : CoordinateChartEditor
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void OnEnable()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnEnable();
|
2021-03-25 12:55:52 +08:00
|
|
|
|
if(target == null) return;
|
2021-01-11 08:54:28 +08:00
|
|
|
|
m_Chart = (LineChart)target;
|
2019-05-11 04:33:54 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|