mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 07:20:08 +00:00
Editor上添加第二个X轴或Y轴时自动设置位置
This commit is contained in:
@@ -131,5 +131,16 @@ namespace XCharts.Runtime
|
||||
var xAxis = GetChartComponent<XAxis>();
|
||||
xAxis.type = Axis.AxisType.Time;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// default logarithmic line chart.
|
||||
/// || 默认对数轴折线图。
|
||||
/// </summary>
|
||||
public void DefaultLogLineChart()
|
||||
{
|
||||
CheckChartInit();
|
||||
var yAxis = GetChartComponent<YAxis>();
|
||||
yAxis.type = Axis.AxisType.Log;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user