mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 12:08:46 +00:00
增加GridCoord3D3D坐标系
This commit is contained in:
@@ -22,6 +22,7 @@ slug: /api
|
||||
- [AreaStyle](#areastyle)
|
||||
- [ArrowStyle](#arrowstyle)
|
||||
- [Axis](#axis)
|
||||
- [Axis3DHelper](#axis3dhelper)
|
||||
- [AxisAnimation](#axisanimation)
|
||||
- [AxisContext](#axiscontext)
|
||||
- [AxisHandler<T>](#axishandlert)
|
||||
@@ -67,6 +68,7 @@ slug: /api
|
||||
- [ComponentTheme](#componenttheme)
|
||||
- [CoordOptionsAttribute](#coordoptionsattribute)
|
||||
- [CoordSystem](#coordsystem)
|
||||
- [DataHelper](#datahelper)
|
||||
- [DataZoom](#datazoom)
|
||||
- [DataZoomContext](#datazoomcontext)
|
||||
- [DataZoomHelper](#datazoomhelper)
|
||||
@@ -84,6 +86,8 @@ slug: /api
|
||||
- [GraphEdge](#graphedge)
|
||||
- [GraphNode](#graphnode)
|
||||
- [GridCoord](#gridcoord)
|
||||
- [GridCoord3D](#gridcoord3d)
|
||||
- [GridCoord3DContext](#gridcoord3dcontext)
|
||||
- [GridCoordContext](#gridcoordcontext)
|
||||
- [GridLayout](#gridlayout)
|
||||
- [GridLayoutContext](#gridlayoutcontext)
|
||||
@@ -119,6 +123,7 @@ slug: /api
|
||||
- [Line](#line)
|
||||
- [LineArrow](#linearrow)
|
||||
- [LineChart](#linechart)
|
||||
- [LineHelper](#linehelper)
|
||||
- [LineStyle](#linestyle)
|
||||
- [ListFor](#listfor)
|
||||
- [ListForComponent](#listforcomponent)
|
||||
@@ -225,12 +230,14 @@ slug: /api
|
||||
- [UIComponent](#uicomponent)
|
||||
- [UIComponentTheme](#uicomponenttheme)
|
||||
- [UIHelper](#uihelper)
|
||||
- [ViewControl](#viewcontrol)
|
||||
- [VisualMap](#visualmap)
|
||||
- [VisualMapContext](#visualmapcontext)
|
||||
- [VisualMapHelper](#visualmaphelper)
|
||||
- [VisualMapRange](#visualmaprange)
|
||||
- [VisualMapTheme](#visualmaptheme)
|
||||
- [XAxis](#xaxis)
|
||||
- [XAxis3D](#xaxis3d)
|
||||
- [XChartsMgr](#xchartsmgr)
|
||||
- [XCResourceImporterWindow](#xcresourceimporterwindow)
|
||||
- [XCResourcesImporter](#xcresourcesimporter)
|
||||
@@ -238,6 +245,8 @@ slug: /api
|
||||
- [XCThemeMgr](#xcthememgr)
|
||||
- [XLog](#xlog)
|
||||
- [YAxis](#yaxis)
|
||||
- [YAxis3D](#yaxis3d)
|
||||
- [ZAxis3D](#zaxis3d)
|
||||
|
||||
|
||||
## AngleAxis
|
||||
@@ -418,7 +427,7 @@ The style of area.
|
||||
|
||||
## Axis
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [AngleAxis](#angleaxis),[ParallelAxis](#parallelaxis),[RadiusAxis](#radiusaxis),[SingleAxis](#singleaxis),[XAxis](#xaxis),[YAxis](#yaxis)
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [AngleAxis](#angleaxis),[ParallelAxis](#parallelaxis),[RadiusAxis](#radiusaxis),[SingleAxis](#singleaxis),[XAxis](#xaxis),[XAxis3D](#xaxis3d),[YAxis](#yaxis),[YAxis3D](#yaxis3d),[ZAxis3D](#zaxis3d)
|
||||
|
||||
The axis in rectangular coordinate.
|
||||
|
||||
@@ -434,7 +443,7 @@ The axis in rectangular coordinate.
|
||||
|GetAddedDataCount()||public int GetAddedDataCount()<br/>get the history data count. |
|
||||
|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)<br/>获得值在坐标轴上的距离 |
|
||||
|GetDistance()||public float GetDistance(double value, float axisLength = 0)<br/>获得值在坐标轴上的距离 |
|
||||
|GetIcon()||public Sprite GetIcon(int index)|
|
||||
|GetLabelValue()||public double GetLabelValue(int index)|
|
||||
|GetLastLabelValue()||public double GetLastLabelValue()|
|
||||
@@ -458,6 +467,17 @@ The axis in rectangular coordinate.
|
||||
|UpdateIcon()||public void UpdateIcon(int index, Sprite icon)<br/>更新图标 |
|
||||
|UpdateZeroOffset()||public void UpdateZeroOffset(float axisLength)|
|
||||
|
||||
## Axis3DHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|Get3DGridPosition()||public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, double xValue, double yValue)|
|
||||
|Get3DGridPosition()||public static Vector3 Get3DGridPosition(GridCoord3D grid, XAxis3D xAxis, YAxis3D yAxis, ZAxis3D zAxis, double xValue, double yValue, double zValue)|
|
||||
|GetLabelPosition()||public static Vector3 GetLabelPosition(int i, Axis axis, Axis relativedAxis, AxisTheme theme, float scaleWid)|
|
||||
|
||||
## AxisAnimation
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
|
||||
@@ -1171,7 +1191,7 @@ A candlestick chart is a style of financial chart used to describe price movemen
|
||||
|
||||
## ChildComponent
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle),[AxisAnimation](#axisanimation),[AxisName](#axisname),[AxisSplitArea](#axissplitarea),[AreaStyle](#areastyle),[ArrowStyle](#arrowstyle),[BaseLine](#baseline),[BorderStyle](#borderstyle),[IconStyle](#iconstyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[Level](#level),[LevelStyle](#levelstyle),[LineArrow](#linearrow),[LineStyle](#linestyle),[Location](#location),[MLValue](#mlvalue),[MarqueeStyle](#marqueestyle),[Padding](#padding),[StageColor](#stagecolor),[SymbolStyle](#symbolstyle),[TextLimit](#textlimit),[TextStyle](#textstyle),[CommentItem](#commentitem),[CommentMarkStyle](#commentmarkstyle),[LabelLine](#labelline),[LabelStyle](#labelstyle),[MarkAreaData](#markareadata),[MarkLineData](#marklinedata),[StateStyle](#statestyle),[VisualMapRange](#visualmaprange),[UIComponentTheme](#uicomponenttheme),[SerieData](#seriedata),[SerieDataLink](#seriedatalink),[ComponentTheme](#componenttheme),[SerieTheme](#serietheme),[ThemeStyle](#themestyle)
|
||||
> class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle),[AxisAnimation](#axisanimation),[AxisName](#axisname),[AxisSplitArea](#axissplitarea),[AreaStyle](#areastyle),[ArrowStyle](#arrowstyle),[BaseLine](#baseline),[BorderStyle](#borderstyle),[IconStyle](#iconstyle),[ImageStyle](#imagestyle),[ItemStyle](#itemstyle),[Level](#level),[LevelStyle](#levelstyle),[LineArrow](#linearrow),[LineStyle](#linestyle),[Location](#location),[MLValue](#mlvalue),[MarqueeStyle](#marqueestyle),[Padding](#padding),[StageColor](#stagecolor),[SymbolStyle](#symbolstyle),[TextLimit](#textlimit),[TextStyle](#textstyle),[CommentItem](#commentitem),[CommentMarkStyle](#commentmarkstyle),[LabelLine](#labelline),[LabelStyle](#labelstyle),[MarkAreaData](#markareadata),[MarkLineData](#marklinedata),[StateStyle](#statestyle),[VisualMapRange](#visualmaprange),[ViewControl](#viewcontrol),[UIComponentTheme](#uicomponenttheme),[SerieData](#seriedata),[SerieDataLink](#seriedatalink),[ComponentTheme](#componenttheme),[SerieTheme](#serietheme),[ThemeStyle](#themestyle)
|
||||
|
||||
|
||||
|public method|since|description|
|
||||
@@ -1269,10 +1289,15 @@ the comment mark style.
|
||||
|
||||
## CoordSystem
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord),[SingleAxisCoord](#singleaxiscoord)
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord),[SingleAxisCoord](#singleaxiscoord)
|
||||
|
||||
Coordinate system component.
|
||||
|
||||
## DataHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
## DataZoom
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent),[IUpdateRuntimeData](#iupdateruntimedata)
|
||||
@@ -1332,6 +1357,7 @@ DataZoom component is used for zooming a specific area, which enables user to in
|
||||
|GetDateTime()||public static DateTime GetDateTime(int timestamp)|
|
||||
|GetTimestamp()||public static int GetTimestamp()|
|
||||
|GetTimestamp()||public static int GetTimestamp(DateTime time)|
|
||||
|GetTimestamp()||public static int GetTimestamp(string dateTime)|
|
||||
|
||||
## DebugInfo
|
||||
|
||||
@@ -1429,6 +1455,7 @@ the data struct of graph.
|
||||
|ExpandNode()||public void ExpandNode(string nodeId, bool flag)|
|
||||
|GetDepthNodes()||public List<List<GraphNode>> GetDepthNodes()|
|
||||
|GetEdge()||public GraphEdge GetEdge(string nodeId1, string nodeId2)|
|
||||
|GetExpandedNodesCount()||public static int GetExpandedNodesCount(List<GraphNode> nodes)|
|
||||
|GetMaxDepth()||public int GetMaxDepth()|
|
||||
|GetNode()||public GraphNode GetNode(string nodeId)|
|
||||
|GetNodeDepth()||// public int GetNodeDepth(GraphNode node)|
|
||||
@@ -1485,6 +1512,28 @@ Grid component.
|
||||
|NotAnyIntersect()|v3.10.0|public bool NotAnyIntersect(Vector3 sp, Vector3 ep)<br/>Determines whether a given line segment will not intersect the Grid boundary at all. |
|
||||
|UpdateRuntimeData()||public void UpdateRuntimeData(BaseChart chart)|
|
||||
|
||||
## GridCoord3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
Grid component.
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|Clamp()||public void Clamp(ref Vector3 pos)<br/>Clamp the position of pos to the grid. |
|
||||
|Contains()||public bool Contains(Vector3 pos)<br/>Whether the given position is in the grid. |
|
||||
|IsLeft()||public bool IsLeft()<br/>The opening of the coordinate system faces to the left. 坐标系开口朝向左边。 |
|
||||
|IsPointerEnter()||public bool IsPointerEnter()<br/>Whether the pointer is in the grid. |
|
||||
|NotAnyIntersect()||public bool NotAnyIntersect(Vector3 sp, Vector3 ep)<br/>Determines whether a given line segment will not intersect the Grid boundary at all. |
|
||||
|UpdateRuntimeData()||public void UpdateRuntimeData(BaseChart chart)|
|
||||
|
||||
## GridCoord3DContext
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)
|
||||
|
||||
|
||||
## GridCoordContext
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponentContext](#maincomponentcontext)
|
||||
@@ -1635,7 +1684,7 @@ The interface for serie component.
|
||||
|
||||
## ISerieContainer
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
|
||||
> class in XCharts.Runtime / Subclasses: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
|
||||
|
||||
|
||||
## ISerieDataComponent
|
||||
@@ -1671,7 +1720,7 @@ The interface for serie data component.
|
||||
|
||||
## IUpdateRuntimeData
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridLayout](#gridlayout),[ParallelCoord](#parallelcoord)
|
||||
> class in XCharts.Runtime / Subclasses: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridLayout](#gridlayout),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord)
|
||||
|
||||
|
||||
## LabelLine
|
||||
@@ -1870,6 +1919,16 @@ Line chart relates all the data points symbol by broken lines, which is used to
|
||||
|DefaultStepLineChart()||public void DefaultStepLineChart()<br/>default step line chart. |
|
||||
|DefaultTimeLineChart()||public void DefaultTimeLineChart()<br/>default time line chart. |
|
||||
|
||||
## LineHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|GetDataAverageRate()||public static int GetDataAverageRate(Serie serie, float axisLength, int maxCount, bool isYAxis)|
|
||||
|GetLineWidth()||public static float GetLineWidth(ref bool interacting, Serie serie, float defaultWidth)|
|
||||
|
||||
## LineStyle
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent),[ISerieDataComponent](#iseriedatacomponent)
|
||||
@@ -1967,7 +2026,7 @@ Location type. Quick to set the general location.
|
||||
|
||||
## MainComponentContext
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[GridLayoutContext](#gridlayoutcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
|
||||
> class in XCharts.Runtime / Subclasses: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[GridLayoutContext](#gridlayoutcontext),[GridCoord3DContext](#gridcoord3dcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
|
||||
|
||||
|
||||
## MainComponentHandler
|
||||
@@ -3220,6 +3279,7 @@ UGUI Graphics Library.
|
||||
|IsClearColor()||public static bool IsClearColor(Color32 color)|
|
||||
|IsPointInPolygon()||public static bool IsPointInPolygon(Vector3 p, List<Vector2> polyons)|
|
||||
|IsPointInPolygon()||public static bool IsPointInPolygon(Vector3 p, List<Vector3> polyons)|
|
||||
|IsPointInPolygon()||public static bool IsPointInPolygon(Vector3 p, params Vector3[] polyons)|
|
||||
|IsPointInTriangle()||public static bool IsPointInTriangle(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 check)|
|
||||
|IsValueEqualsColor()||public static bool IsValueEqualsColor(Color color1, Color color2)|
|
||||
|IsValueEqualsColor()||public static bool IsValueEqualsColor(Color32 color1, Color32 color2)|
|
||||
@@ -3259,6 +3319,14 @@ UI组件基类。
|
||||
|
||||
UI帮助类。
|
||||
|
||||
## ViewControl
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
View control component in 3D coordinate system.
|
||||
|
||||
## VisualMap
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)
|
||||
@@ -3272,6 +3340,7 @@ VisualMap component. Mapping data to visual elements such as colors.
|
||||
|ClearComponentDirty()||public override void ClearComponentDirty()|
|
||||
|ClearVerticesDirty()||public override void ClearVerticesDirty()|
|
||||
|GetColor()||public Color32 GetColor(double value)|
|
||||
|GetColor()||public Color32 GetColor(double xValue, double yValue, double zValue, byte alpha = 255)|
|
||||
|GetIndex()||public int GetIndex(double value)|
|
||||
|GetValue()||public double GetValue(Vector3 pos, Rect chartRect)|
|
||||
|IsInRangeMaxRect()||public bool IsInRangeMaxRect(Vector3 local, Rect chartRect, float triangleLen)|
|
||||
@@ -3329,6 +3398,18 @@ The x axis in cartesian(rectangular) coordinate.
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>The x axis in cartesian(rectangular) coordinate. |
|
||||
|
||||
## XAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>The x axis in cartesian(rectangular) coordinate. |
|
||||
|
||||
## XChartsMgr
|
||||
|
||||
> class in XCharts.Runtime
|
||||
@@ -3434,3 +3515,27 @@ The x axis in cartesian(rectangular) coordinate.
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>The x axis in cartesian(rectangular) coordinate. |
|
||||
|
||||
## YAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>The x axis in cartesian(rectangular) coordinate. |
|
||||
|
||||
## ZAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
|public method|since|description|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>The x axis in cartesian(rectangular) coordinate. |
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ import APITable from '@site/src/components/APITable';
|
||||
- [CoordSystem](#coordsystem)
|
||||
- [DataZoom](#datazoom)
|
||||
- [GridCoord](#gridcoord)
|
||||
- [GridCoord3D](#gridcoord3d)
|
||||
- [GridLayout](#gridlayout)
|
||||
- [Legend](#legend)
|
||||
- [MarkArea](#markarea)
|
||||
@@ -72,7 +73,10 @@ import APITable from '@site/src/components/APITable';
|
||||
- [Tooltip](#tooltip)
|
||||
- [VisualMap](#visualmap)
|
||||
- [XAxis](#xaxis)
|
||||
- [XAxis3D](#xaxis3d)
|
||||
- [YAxis](#yaxis)
|
||||
- [YAxis3D](#yaxis3d)
|
||||
- [ZAxis3D](#zaxis3d)
|
||||
|
||||
|
||||
## ChildComponent
|
||||
@@ -137,6 +141,7 @@ import APITable from '@site/src/components/APITable';
|
||||
- [TitleTheme](#titletheme)
|
||||
- [TooltipTheme](#tooltiptheme)
|
||||
- [UIComponentTheme](#uicomponenttheme)
|
||||
- [ViewControl](#viewcontrol)
|
||||
- [VisualMapRange](#visualmaprange)
|
||||
- [VisualMapTheme](#visualmaptheme)
|
||||
|
||||
@@ -385,7 +390,7 @@ The style of area.
|
||||
|
||||
## Axis
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [AngleAxis](#angleaxis), [ParallelAxis](#parallelaxis), [RadiusAxis](#radiusaxis), [SingleAxis](#singleaxis), [XAxis](#xaxis), [YAxis](#yaxis)
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [AngleAxis](#angleaxis), [ParallelAxis](#parallelaxis), [RadiusAxis](#radiusaxis), [SingleAxis](#singleaxis), [XAxis](#xaxis), [XAxis3D](#xaxis3d), [YAxis](#yaxis), [YAxis3D](#yaxis3d), [ZAxis3D](#zaxis3d)
|
||||
|
||||
The axis in rectangular coordinate.
|
||||
|
||||
@@ -402,7 +407,7 @@ The axis in rectangular coordinate.
|
||||
|gridIndex|||The index of the grid on which the axis are located, by default, is in the first grid.
|
||||
|polarIndex|||The index of the polar on which the axis are located, by default, is in the first polar.
|
||||
|parallelIndex|||The index of the parallel on which the axis are located, by default, is in the first parallel.
|
||||
|position|||the position of axis in grid.<br/>`Axis.AxisPosition`:<br/>- `Left`: the position of axis in grid.<br/>- `Right`: the position of axis in grid.<br/>- `Bottom`: the position of axis in grid.<br/>- `Top`: the position of axis in grid.<br/>|
|
||||
|position|||the position of axis in grid.<br/>`Axis.AxisPosition`:<br/>- `Left`: the position of axis in grid.<br/>- `Right`: the position of axis in grid.<br/>- `Bottom`: the position of axis in grid.<br/>- `Top`: the position of axis in grid.<br/>- `Center`: the position of axis in grid.<br/>|
|
||||
|offset|||the offset of axis from the default position. Useful when the same position has multiple axes.
|
||||
|min|||The minimun value of axis.Valid when `minMaxType` is `Custom`
|
||||
|max|||The maximum value of axis.Valid when `minMaxType` is `Custom`
|
||||
@@ -606,6 +611,7 @@ Split line of axis in grid area.
|
||||
|autoColor|||auto color.
|
||||
|showStartLine|true|v3.3.0|Whether to show the first split line.
|
||||
|showEndLine|true|v3.3.0|Whether to show the last split line.
|
||||
|showZLine|true|v3.11.0|Whether to show the Z axis part of the split line. Generally used for 3D coordinate systems.
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
@@ -774,7 +780,7 @@ The style of border.
|
||||
|
||||
## ChildComponent
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle), [AxisAnimation](#axisanimation), [AxisName](#axisname), [AxisSplitArea](#axissplitarea), [AreaStyle](#areastyle), [ArrowStyle](#arrowstyle), [BaseLine](#baseline), [BorderStyle](#borderstyle), [IconStyle](#iconstyle), [ImageStyle](#imagestyle), [ItemStyle](#itemstyle), [Level](#level), [LevelStyle](#levelstyle), [LineArrow](#linearrow), [LineStyle](#linestyle), [Location](#location), [MLValue](#mlvalue), [MarqueeStyle](#marqueestyle), [Padding](#padding), [StageColor](#stagecolor), [SymbolStyle](#symbolstyle), [TextLimit](#textlimit), [TextStyle](#textstyle), [CommentItem](#commentitem), [CommentMarkStyle](#commentmarkstyle), [LabelLine](#labelline), [LabelStyle](#labelstyle), [MarkAreaData](#markareadata), [MarkLineData](#marklinedata), [StateStyle](#statestyle), [VisualMapRange](#visualmaprange), [UIComponentTheme](#uicomponenttheme), [SerieData](#seriedata), [SerieDataLink](#seriedatalink), [ComponentTheme](#componenttheme), [SerieTheme](#serietheme), [ThemeStyle](#themestyle)
|
||||
> class in XCharts.Runtime / Subclasses: [AnimationStyle](#animationstyle), [AxisAnimation](#axisanimation), [AxisName](#axisname), [AxisSplitArea](#axissplitarea), [AreaStyle](#areastyle), [ArrowStyle](#arrowstyle), [BaseLine](#baseline), [BorderStyle](#borderstyle), [IconStyle](#iconstyle), [ImageStyle](#imagestyle), [ItemStyle](#itemstyle), [Level](#level), [LevelStyle](#levelstyle), [LineArrow](#linearrow), [LineStyle](#linestyle), [Location](#location), [MLValue](#mlvalue), [MarqueeStyle](#marqueestyle), [Padding](#padding), [StageColor](#stagecolor), [SymbolStyle](#symbolstyle), [TextLimit](#textlimit), [TextStyle](#textstyle), [CommentItem](#commentitem), [CommentMarkStyle](#commentmarkstyle), [LabelLine](#labelline), [LabelStyle](#labelstyle), [MarkAreaData](#markareadata), [MarkLineData](#marklinedata), [StateStyle](#statestyle), [VisualMapRange](#visualmaprange), [ViewControl](#viewcontrol), [UIComponentTheme](#uicomponenttheme), [SerieData](#seriedata), [SerieDataLink](#seriedatalink), [ComponentTheme](#componenttheme), [SerieTheme](#serietheme), [ThemeStyle](#themestyle)
|
||||
|
||||
## Comment
|
||||
|
||||
@@ -865,7 +871,7 @@ the comment mark style.
|
||||
|
||||
## CoordSystem
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord), [SingleAxisCoord](#singleaxiscoord)
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent) / Subclasses: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord), [SingleAxisCoord](#singleaxiscoord)
|
||||
|
||||
Coordinate system component.
|
||||
|
||||
@@ -1022,6 +1028,37 @@ Grid component.
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## GridCoord3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [CoordSystem](#coordsystem), [IUpdateRuntimeData](#iupdateruntimedata), [ISerieContainer](#iseriecontainer)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
Grid component.
|
||||
|
||||
```mdx-code-block
|
||||
<APITable name="GridCoord3D">
|
||||
```
|
||||
|
||||
|
||||
|field|default|since|comment|
|
||||
|--|--|--|--|
|
||||
|show|true||Whether to show the grid in rectangular coordinate.
|
||||
|left|0.15f||Distance between grid component and the left side of the container.
|
||||
|right|0.2f||Distance between grid component and the right side of the container.
|
||||
|top|0.3f||Distance between grid component and the top side of the container.
|
||||
|bottom|0.15f||Distance between grid component and the bottom side of the container.
|
||||
|showBorder|false||Whether to show the grid border.
|
||||
|boxWidth|0.55f||The width of the box in the coordinate system.
|
||||
|boxHeight|0.4f||The height of the box in the coordinate system.
|
||||
|boxDepth|0.2f||The depth of the box in the coordinate system.
|
||||
|xYExchanged|false||
|
||||
|viewControl|||View control component in 3D coordinate system. [ViewControl](#viewcontrol)|
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## GridLayout
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent), [IUpdateRuntimeData](#iupdateruntimedata)
|
||||
@@ -1177,7 +1214,7 @@ The interface for serie component.
|
||||
|
||||
## ISerieContainer
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord)
|
||||
> class in XCharts.Runtime / Subclasses: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord)
|
||||
|
||||
## ISerieDataComponent
|
||||
|
||||
@@ -1229,7 +1266,7 @@ The interface for serie data component.
|
||||
|
||||
## IUpdateRuntimeData
|
||||
|
||||
> class in XCharts.Runtime / Subclasses: [SingleAxis](#singleaxis), [DataZoom](#datazoom), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridLayout](#gridlayout), [ParallelCoord](#parallelcoord)
|
||||
> class in XCharts.Runtime / Subclasses: [SingleAxis](#singleaxis), [DataZoom](#datazoom), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridLayout](#gridlayout), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord)
|
||||
|
||||
## LabelLine
|
||||
|
||||
@@ -2377,6 +2414,28 @@ Tooltip component.
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## ViewControl
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [ChildComponent](#childcomponent)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
View control component in 3D coordinate system.
|
||||
|
||||
```mdx-code-block
|
||||
<APITable name="ViewControl">
|
||||
```
|
||||
|
||||
|
||||
|field|default|since|comment|
|
||||
|--|--|--|--|
|
||||
|alpha|90f||The angle of the view in the x-z plane.
|
||||
|beta|55f||The angle of the view in the y-z plane.
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## VisualMap
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [MainComponent](#maincomponent)
|
||||
@@ -2467,6 +2526,14 @@ VisualMap component. Mapping data to visual elements such as colors.
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
## XAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
## XCResourcesImporter
|
||||
|
||||
> class in XCharts.Runtime
|
||||
@@ -2528,3 +2595,19 @@ The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
## YAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
## ZAxis3D
|
||||
|
||||
> class in XCharts.Runtime / Inherits from: [Axis](#axis)
|
||||
|
||||
> Since `v3.11.0`
|
||||
|
||||
The x axis in cartesian(rectangular) coordinate.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user