mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 03:58:49 +00:00
增加Axis的m_MinCategorySpacing设置类目轴默认的最小类目间距
This commit is contained in:
@@ -443,6 +443,7 @@ The axis in rectangular coordinate.
|
||||
|Clone()||public Axis Clone()|
|
||||
|Copy()||public void Copy(Axis axis)|
|
||||
|GetAddedDataCount()||public int GetAddedDataCount()<br/>get the history data count. |
|
||||
|GetCategoryPosition()||public Vector3 GetCategoryPosition(int categoryIndex, int dataCount = 0)|
|
||||
|GetData()||public string GetData(int index)<br/>获得指定索引的类目数据 |
|
||||
|GetData()||public string GetData(int index, DataZoom dataZoom)<br/>获得在dataZoom范围内指定索引的类目数据 |
|
||||
|GetDistance()||public float GetDistance(double value, float axisLength = 0)<br/>获得值在坐标轴上的距离 |
|
||||
|
||||
@@ -422,6 +422,7 @@ The axis in rectangular coordinate.
|
||||
|inverse|false||Whether the axis are reversed or not. Invalid in `Category` axis.
|
||||
|clockwise|true||Whether the positive position of axis is in clockwise. True for clockwise by default.
|
||||
|insertDataToHead|||Whether to add new data at the head or at the end of the list.
|
||||
|minCategorySpacing|0|v3.11.0|The minimum spacing between categories.
|
||||
|icons|||类目数据对应的图标。
|
||||
|data|||Category data, available in type: 'Category' axis.
|
||||
|axisLine|||axis Line. [AxisLine](#axisline)|
|
||||
|
||||
Reference in New Issue
Block a user