mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
Editor上添加第二个X轴或Y轴时自动设置位置
This commit is contained in:
@@ -83,5 +83,13 @@ namespace XCharts.Editor
|
||||
var chart = AddChart<LineChart>("LineChart_Time", "Time Line");
|
||||
chart.DefaultTimeLineChart();
|
||||
}
|
||||
|
||||
[MenuItem("XCharts/LineChart/Log Line", priority = 44)]
|
||||
[MenuItem("GameObject/XCharts/LineChart/Log Line", priority = 44)]
|
||||
public static void AddLineChart_Log()
|
||||
{
|
||||
var chart = AddChart<LineChart>("LineChart_Log", "Log Line");
|
||||
chart.DefaultLogLineChart();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user