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.
|
||||
|
||||
|
||||
@@ -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 @@ slug: /api
|
||||
|
||||
## Axis
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [AngleAxis](#angleaxis),[ParallelAxis](#parallelaxis),[RadiusAxis](#radiusaxis),[SingleAxis](#singleaxis),[XAxis](#xaxis),[YAxis](#yaxis)
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [AngleAxis](#angleaxis),[ParallelAxis](#parallelaxis),[RadiusAxis](#radiusaxis),[SingleAxis](#singleaxis),[XAxis](#xaxis),[XAxis3D](#xaxis3d),[YAxis](#yaxis),[YAxis3D](#yaxis3d),[ZAxis3D](#zaxis3d)
|
||||
|
||||
直角坐标系的坐标轴组件。
|
||||
|
||||
@@ -434,7 +443,7 @@ slug: /api
|
||||
|GetAddedDataCount()||public int GetAddedDataCount()<br/>获得添加过的历史数据总数 |
|
||||
|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 @@ slug: /api
|
||||
|UpdateIcon()||public void UpdateIcon(int index, Sprite icon)<br/>更新图标 |
|
||||
|UpdateZeroOffset()||public void UpdateZeroOffset(float axisLength)|
|
||||
|
||||
## Axis3DHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|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 / 继承自: [ChildComponent](#childcomponent)
|
||||
@@ -1171,7 +1191,7 @@ slug: /api
|
||||
|
||||
## ChildComponent
|
||||
|
||||
> class in XCharts.Runtime / 子类: [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 / 子类: [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)
|
||||
|
||||
|
||||
|API|版本|描述|
|
||||
@@ -1269,10 +1289,15 @@ slug: /api
|
||||
|
||||
## CoordSystem
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord),[SingleAxisCoord](#singleaxiscoord)
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord),[SingleAxisCoord](#singleaxiscoord)
|
||||
|
||||
坐标系系统。
|
||||
|
||||
## DataHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
## DataZoom
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent),[IUpdateRuntimeData](#iupdateruntimedata)
|
||||
@@ -1332,6 +1357,7 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
|
||||
|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 @@ DataZoom 组件 用于区域缩放,从而能自由关注细节的数据信息
|
||||
|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 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|NotAnyIntersect()|v3.10.0|public bool NotAnyIntersect(Vector3 sp, Vector3 ep)<br/>判断给定的线段是否与Grid边界是否完全不会相交。 |
|
||||
|UpdateRuntimeData()||public void UpdateRuntimeData(BaseChart chart)|
|
||||
|
||||
## GridCoord3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [CoordSystem](#coordsystem),[IUpdateRuntimeData](#iupdateruntimedata),[ISerieContainer](#iseriecontainer)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|Clamp()||public void Clamp(ref Vector3 pos)<br/>将位置限制在网格内。 |
|
||||
|Contains()||public bool Contains(Vector3 pos)<br/>给定的位置是否在网格内。 |
|
||||
|IsLeft()||public bool IsLeft()<br/>The opening of the coordinate system faces to the left. 坐标系开口朝向左边。 |
|
||||
|IsPointerEnter()||public bool IsPointerEnter()<br/>指针是否在网格内。 |
|
||||
|NotAnyIntersect()||public bool NotAnyIntersect(Vector3 sp, Vector3 ep)<br/>判断给定的线段是否与Grid边界是否完全不会相交。 |
|
||||
|UpdateRuntimeData()||public void UpdateRuntimeData(BaseChart chart)|
|
||||
|
||||
## GridCoord3DContext
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentcontext)
|
||||
|
||||
|
||||
## GridCoordContext
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponentContext](#maincomponentcontext)
|
||||
@@ -1635,7 +1684,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|
||||
## ISerieContainer
|
||||
|
||||
> class in XCharts.Runtime / 子类: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
|
||||
> class in XCharts.Runtime / 子类: [RadarCoord](#radarcoord),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord),[PolarCoord](#polarcoord)
|
||||
|
||||
|
||||
## ISerieDataComponent
|
||||
@@ -1671,7 +1720,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|
||||
## IUpdateRuntimeData
|
||||
|
||||
> class in XCharts.Runtime / 子类: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridLayout](#gridlayout),[ParallelCoord](#parallelcoord)
|
||||
> class in XCharts.Runtime / 子类: [SingleAxis](#singleaxis),[DataZoom](#datazoom),[CalendarCoord](#calendarcoord),[GridCoord](#gridcoord),[GridLayout](#gridlayout),[GridCoord3D](#gridcoord3d),[ParallelCoord](#parallelcoord)
|
||||
|
||||
|
||||
## LabelLine
|
||||
@@ -1870,6 +1919,16 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|DefaultStepLineChart()||public void DefaultStepLineChart()<br/>默认阶梯折线图。 |
|
||||
|DefaultTimeLineChart()||public void DefaultTimeLineChart()<br/>默认时间折线图。 |
|
||||
|
||||
## LineHelper
|
||||
|
||||
> class in XCharts.Runtime
|
||||
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|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 / 继承自: [ChildComponent](#childcomponent),[ISerieDataComponent](#iseriedatacomponent)
|
||||
@@ -1967,7 +2026,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|
||||
## MainComponentContext
|
||||
|
||||
> class in XCharts.Runtime / 子类: [AxisContext](#axiscontext),[DataZoomContext](#datazoomcontext),[LegendContext](#legendcontext),[RadarCoordContext](#radarcoordcontext),[VisualMapContext](#visualmapcontext),[GridCoordContext](#gridcoordcontext),[GridLayoutContext](#gridlayoutcontext),[ParallelCoordContext](#parallelcoordcontext),[PolarCoordContext](#polarcoordcontext)
|
||||
> class in XCharts.Runtime / 子类: [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 图形库
|
||||
|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 / 继承自: [ChildComponent](#childcomponent)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
3D视角控制组件。
|
||||
|
||||
## VisualMap
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
|
||||
@@ -3272,6 +3340,7 @@ UI帮助类。
|
||||
|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 @@ UI帮助类。
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>直角坐标系 grid 中的 x 轴。 |
|
||||
|
||||
## XAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 x 轴。
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>直角坐标系 grid 中的 x 轴。 |
|
||||
|
||||
## XChartsMgr
|
||||
|
||||
> class in XCharts.Runtime
|
||||
@@ -3434,3 +3515,27 @@ UI帮助类。
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>直角坐标系 grid 中的 y 轴。 |
|
||||
|
||||
## YAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 y 轴。
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>直角坐标系 grid 中的 y 轴。 |
|
||||
|
||||
## ZAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 y 轴。
|
||||
|
||||
|API|版本|描述|
|
||||
|--|--|--|
|
||||
|SetDefaultValue()||public override void SetDefaultValue()<br/>直角坐标系 grid 中的 y 轴。 |
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ slug: /changelog
|
||||
|
||||
## master
|
||||
|
||||
* (2024.04.22) 增加`GridCoord3D`3D坐标系
|
||||
* (2024.04.15) 优化`DateTimeUtil`时间戳转`DateTime`接口时区的问题
|
||||
* (2024.04.15) 优化`GridCoord`在开启`GridLayout`时也显示`Left` `Right` `Top` `Bottom`参数 (#316)
|
||||
* (2024.04.14) 修复`Tooltip`的`Cross`在开启`DataZoom`的情况下`label`位置不正确的问题 (#315)
|
||||
* (2024.04.12) 修复`Candlesticks`效果不对的问题 (#313)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -379,7 +384,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
## Axis
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [AngleAxis](#angleaxis), [ParallelAxis](#parallelaxis), [RadiusAxis](#radiusaxis), [SingleAxis](#singleaxis), [XAxis](#xaxis), [YAxis](#yaxis)
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [AngleAxis](#angleaxis), [ParallelAxis](#parallelaxis), [RadiusAxis](#radiusaxis), [SingleAxis](#singleaxis), [XAxis](#xaxis), [XAxis3D](#xaxis3d), [YAxis](#yaxis), [YAxis3D](#yaxis3d), [ZAxis3D](#zaxis3d)
|
||||
|
||||
直角坐标系的坐标轴组件。
|
||||
|
||||
@@ -395,7 +400,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|gridIndex|||坐标轴所在的 grid 的索引,默认位于第一个 grid。
|
||||
|polarIndex|||坐标轴所在的 ploar 的索引,默认位于第一个 polar。
|
||||
|parallelIndex|||坐标轴所在的 parallel 的索引,默认位于第一个 parallel。
|
||||
|position|||坐标轴在Grid中的位置。<br/>`Axis.AxisPosition`:<br/>- `Left`: 坐标轴在Grid中的位置<br/>- `Right`: 坐标轴在Grid中的位置<br/>- `Bottom`: 坐标轴在Grid中的位置<br/>- `Top`: 坐标轴在Grid中的位置<br/>|
|
||||
|position|||坐标轴在Grid中的位置。<br/>`Axis.AxisPosition`:<br/>- `Left`: 坐标轴在Grid中的位置<br/>- `Right`: 坐标轴在Grid中的位置<br/>- `Bottom`: 坐标轴在Grid中的位置<br/>- `Top`: 坐标轴在Grid中的位置<br/>- `Center`: 坐标轴在Grid中的位置<br/>|
|
||||
|offset|||坐标轴相对默认位置的偏移。在相同position有多个坐标轴时有用。
|
||||
|min|||设定的坐标轴刻度最小值,当minMaxType为Custom时有效。
|
||||
|max|||设定的坐标轴刻度最大值,当minMaxType为Custom时有效。
|
||||
@@ -591,6 +596,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|autoColor|||自动设置颜色。
|
||||
|showStartLine|true|v3.3.0|是否显示第一条分割线。
|
||||
|showEndLine|true|v3.3.0|是否显示最后一条分割线。
|
||||
|showZLine|true|v3.11.0|是否显示Z轴部分分割线。一般用于3D坐标系。
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
@@ -754,7 +760,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
## ChildComponent
|
||||
|
||||
> class in XCharts.Runtime / 子类: [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 / 子类: [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
|
||||
|
||||
@@ -841,7 +847,7 @@ import APITable from '@site/src/components/APITable';
|
||||
|
||||
## CoordSystem
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord), [SingleAxisCoord](#singleaxiscoord)
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent) / 子类: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord), [SingleAxisCoord](#singleaxiscoord)
|
||||
|
||||
坐标系系统。
|
||||
|
||||
@@ -993,6 +999,36 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## GridCoord3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [CoordSystem](#coordsystem), [IUpdateRuntimeData](#iupdateruntimedata), [ISerieContainer](#iseriecontainer)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart can be drawn in grid.
|
||||
|
||||
```mdx-code-block
|
||||
<APITable name="GridCoord3D">
|
||||
```
|
||||
|
||||
|参数|默认|版本|描述|
|
||||
|--|--|--|--|
|
||||
|show|true||是否显示直角坐标系网格。
|
||||
|left|0.15f||grid 组件离容器左侧的距离。
|
||||
|right|0.2f||grid 组件离容器右侧的距离。
|
||||
|top|0.3f||grid 组件离容器上侧的距离。
|
||||
|bottom|0.15f||grid 组件离容器下侧的距离。
|
||||
|showBorder|false||是否显示网格边框。
|
||||
|boxWidth|0.55f||坐标系的宽度。
|
||||
|boxHeight|0.4f||坐标系的高度。
|
||||
|boxDepth|0.2f||坐标系的深度。
|
||||
|xYExchanged|false||
|
||||
|viewControl|||3D视角控制组件。 [ViewControl](#viewcontrol)|
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## GridLayout
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent), [IUpdateRuntimeData](#iupdateruntimedata)
|
||||
@@ -1143,7 +1179,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|
||||
## ISerieContainer
|
||||
|
||||
> class in XCharts.Runtime / 子类: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord)
|
||||
> class in XCharts.Runtime / 子类: [RadarCoord](#radarcoord), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord), [PolarCoord](#polarcoord)
|
||||
|
||||
## ISerieDataComponent
|
||||
|
||||
@@ -1194,7 +1230,7 @@ Drawing grid in rectangular coordinate. Line chart, bar chart, and scatter chart
|
||||
|
||||
## IUpdateRuntimeData
|
||||
|
||||
> class in XCharts.Runtime / 子类: [SingleAxis](#singleaxis), [DataZoom](#datazoom), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridLayout](#gridlayout), [ParallelCoord](#parallelcoord)
|
||||
> class in XCharts.Runtime / 子类: [SingleAxis](#singleaxis), [DataZoom](#datazoom), [CalendarCoord](#calendarcoord), [GridCoord](#gridcoord), [GridLayout](#gridlayout), [GridCoord3D](#gridcoord3d), [ParallelCoord](#parallelcoord)
|
||||
|
||||
## LabelLine
|
||||
|
||||
@@ -2234,7 +2270,7 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
|
||||
|triggerOn||v3.11.0|触发条件。<br/>`Tooltip.TriggerOn`:<br/>- `MouseMove`: 鼠标移动时触发。<br/>- `Click`: 鼠标点击时触发。<br/>|
|
||||
|position||v3.3.0|显示位置类型。<br/>`Tooltip.Position`:<br/>- `Auto`: 自适应。移动平台靠顶部显示,非移动平台跟随鼠标位置。<br/>- `Custom`: 自定义。完全自定义显示位置(x,y)。<br/>- `FixedX`: 只固定坐标X。Y跟随鼠标位置。<br/>- `FixedY`: <br/>|
|
||||
|itemFormatter|||提示框单个serie或数据项内容的字符串模版格式器。支持用 \n 换行。用|来表示多个列的分隔。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。<br/> {i}或-表示忽略当前项。 {.}为当前所指示的serie或数据项的对应颜色的圆点。<br/> {a}为当前所指示的serie或数据项的系列名name。<br/> {b}为当前所指示的serie或数据项的数据项serieData的name,或者类目值(如折线图的X轴)。<br/> {c}为当前所指示的serie或数据项的y维(dimesion为1)的数值。<br/> {d}为当前所指示的serie或数据项的y维(dimesion为1)百分比值,注意不带%号。<br/> {e}为当前所指示的serie或数据项的数据项serieData的name。<br/> {f}为当前所指示的serie的默认维度的数据总和。<br/> {g}为当前所指示的serie的数据总个数。<br/> {h}为当前所指示的serie的十六进制颜色值。<br/> {y}为当前所指示的serie的y轴的类目值。<br/> {c0}表示当前数据项维度为0的数据。<br/> {c1}表示当前数据项维度为1的数据。<br/> {d3}表示维度3的数据的百分比。它的分母是默认维度(一般是1维度)数据。<br/> |表示多个列的分隔。<br/> 示例:"{i}", "{.}|{a}|{c}", "{.}|{b}|{c2:f2}", "{.}|{b}|{y}"
|
||||
|titleFormatter|||提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。<br/> {.}为当前所指示或index为0的serie的对应颜色的圆点。<br/> {a}为当前所指示或index为0的serie的系列名name。<br/> {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。<br/> {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。<br/> {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。<br/> {e}为当前所指示或index为0的serie的数据项serieData的name。<br/> {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。<br/> {f}为数据总和。<br/> {g}为数据总个数。<br/> {f}为value所对应的y轴的类目值。<br/> {.1}表示指定index为1的serie对应颜色的圆点。<br/> {a1}、{b1}、{c1}中的1表示指定index为1的serie。<br/> {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。<br/> {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。<br/> {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。<br/> {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。<br/> 示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
|
||||
|titleFormatter|||提示框标题内容的字符串模版格式器。支持用 \n 换行。可以单独设置占位符{i}表示忽略不显示title。 模板变量有{.}、{a}、{b}、{c}、{d}、{e}、{f}、{g}。<br/> {.}为当前所指示或index为0的serie的对应颜色的圆点。<br/> {a}为当前所指示或index为0的serie的系列名name。<br/> {b}为当前所指示或index为0的serie的数据项serieData的name,或者类目值(如折线图的X轴)。<br/> {c}为当前所指示或index为0的serie的y维(dimesion为1)的数值。<br/> {d}为当前所指示或index为0的serie的y维(dimesion为1)百分比值,注意不带%号。<br/> {e}为当前所指示或index为0的serie的数据项serieData的name。<br/> {h}为当前所指示或index为0的serie的数据项serieData的十六进制颜色值。<br/> {f}为数据总和。<br/> {g}为数据总个数。<br/> {y}为value所对应的y轴的类目值。<br/> {.1}表示指定index为1的serie对应颜色的圆点。<br/> {a1}、{b1}、{c1}中的1表示指定index为1的serie。<br/> {c1:2}表示索引为1的serie的当前指示数据项的第3个数据(一个数据项有多个数据,index为2表示第3个数据)。<br/> {c1:2-2}表示索引为1的serie的第3个数据项的第3个数据(也就是要指定第几个数据项时必须要指定第几个数据)。<br/> {d1:2:f2}表示单独指定了数值的格式化字符串为f2(不指定时用numericFormatter)。<br/> {d:0.##} 表示单独指定了数值的格式化字符串为 0.## (用于百分比,保留2位有效数同时又能避免使用 f2 而出现的类似于"100.00%"的情况 )。<br/> 示例:"{a}:{c}"、"{a1}:{c1:f1}"、"{a1}:{c1:0:f1}"、"{a1}:{c1:1-1:f1}"
|
||||
|marker|||serie的符号标志。
|
||||
|fixedWidth|0||固定宽度。比 minWidth 优先。
|
||||
|fixedHeight|0||固定高度。比 minHeight 优先。
|
||||
@@ -2304,6 +2340,27 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## ViewControl
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [ChildComponent](#childcomponent)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
3D视角控制组件。
|
||||
|
||||
```mdx-code-block
|
||||
<APITable name="ViewControl">
|
||||
```
|
||||
|
||||
|参数|默认|版本|描述|
|
||||
|--|--|--|--|
|
||||
|alpha|90f||视角在x-z平面的角度。
|
||||
|beta|55f||视角在y-z平面的角度。
|
||||
|
||||
```mdx-code-block
|
||||
</APITable>
|
||||
```
|
||||
|
||||
## VisualMap
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [MainComponent](#maincomponent)
|
||||
@@ -2391,6 +2448,14 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
|
||||
|
||||
直角坐标系 grid 中的 x 轴。
|
||||
|
||||
## XAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 x 轴。
|
||||
|
||||
## XCResourcesImporter
|
||||
|
||||
> class in XCharts.Runtime
|
||||
@@ -2451,3 +2516,19 @@ Serie的状态样式。Serie的状态有正常,高亮,淡出,选中四种
|
||||
|
||||
直角坐标系 grid 中的 y 轴。
|
||||
|
||||
## YAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 y 轴。
|
||||
|
||||
## ZAxis3D
|
||||
|
||||
> class in XCharts.Runtime / 继承自: [Axis](#axis)
|
||||
|
||||
> 从 `v3.11.0` 开始支持
|
||||
|
||||
直角坐标系 grid 中的 y 轴。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user