2022-11-19 21:24:08 +08:00
---
2023-02-14 13:18:39 +08:00
sidebar_position: 31
2022-11-19 21:24:08 +08:00
slug: /configuration
---
2024-10-28 22:25:14 +08:00
# Configuration
2022-03-24 21:48:53 +08:00
## Serie
2023-02-14 13:18:39 +08:00
- [Bar ](#bar )
- [BaseScatter ](#basescatter )
- [Candlestick ](#candlestick )
- [EffectScatter ](#effectscatter )
- [Heatmap ](#heatmap )
- [Line ](#line )
- [Parallel ](#parallel )
- [Pie ](#pie )
- [Radar ](#radar )
- [Ring ](#ring )
- [Scatter ](#scatter )
- [Serie ](#serie )
- [SimplifiedBar ](#simplifiedbar )
- [SimplifiedCandlestick ](#simplifiedcandlestick )
- [SimplifiedLine ](#simplifiedline )
2022-03-24 21:48:53 +08:00
2022-03-26 21:34:38 +08:00
## Theme
2023-02-14 13:18:39 +08:00
- [AngleAxisTheme ](#angleaxistheme )
- [AxisTheme ](#axistheme )
- [BaseAxisTheme ](#baseaxistheme )
- [ComponentTheme ](#componenttheme )
- [DataZoomTheme ](#datazoomtheme )
- [LegendTheme ](#legendtheme )
- [PolarAxisTheme ](#polaraxistheme )
- [RadarAxisTheme ](#radaraxistheme )
- [RadiusAxisTheme ](#radiusaxistheme )
- [SerieTheme ](#serietheme )
- [SubTitleTheme ](#subtitletheme )
- [Theme ](#theme )
- [ThemeStyle ](#themestyle )
- [TitleTheme ](#titletheme )
- [TooltipTheme ](#tooltiptheme )
2023-03-20 22:00:02 +08:00
- [UIComponentTheme ](#uicomponenttheme )
2023-02-14 13:18:39 +08:00
- [VisualMapTheme ](#visualmaptheme )
2022-03-26 21:34:38 +08:00
2022-03-24 21:48:53 +08:00
## MainComponent
2023-02-14 13:18:39 +08:00
- [AngleAxis ](#angleaxis )
- [Axis ](#axis )
- [Background ](#background )
- [CalendarCoord ](#calendarcoord )
- [Comment ](#comment )
- [CoordSystem ](#coordsystem )
- [DataZoom ](#datazoom )
- [GridCoord ](#gridcoord )
2024-04-22 22:25:12 +08:00
- [GridCoord3D ](#gridcoord3d )
2023-08-29 18:30:11 +08:00
- [GridLayout ](#gridlayout )
2023-02-14 13:18:39 +08:00
- [Legend ](#legend )
- [MarkArea ](#markarea )
- [MarkLine ](#markline )
- [ParallelAxis ](#parallelaxis )
- [ParallelCoord ](#parallelcoord )
- [PolarCoord ](#polarcoord )
- [RadarCoord ](#radarcoord )
- [RadiusAxis ](#radiusaxis )
- [Settings ](#settings )
- [SingleAxis ](#singleaxis )
- [SingleAxisCoord ](#singleaxiscoord )
- [Title ](#title )
- [Tooltip ](#tooltip )
- [VisualMap ](#visualmap )
- [XAxis ](#xaxis )
2024-04-22 22:25:12 +08:00
- [XAxis3D ](#xaxis3d )
2023-02-14 13:18:39 +08:00
- [YAxis ](#yaxis )
2024-04-22 22:25:12 +08:00
- [YAxis3D ](#yaxis3d )
- [ZAxis3D ](#zaxis3d )
2023-02-14 13:18:39 +08:00
2022-03-24 21:48:53 +08:00
## ChildComponent
2023-02-14 13:18:39 +08:00
- [AngleAxisTheme ](#angleaxistheme )
- [AnimationStyle ](#animationstyle )
- [AreaStyle ](#areastyle )
- [ArrowStyle ](#arrowstyle )
2023-11-24 08:29:55 +08:00
- [AxisAnimation ](#axisanimation )
2023-02-14 13:18:39 +08:00
- [AxisLabel ](#axislabel )
- [AxisLine ](#axisline )
- [AxisMinorSplitLine ](#axisminorsplitline )
- [AxisMinorTick ](#axisminortick )
- [AxisName ](#axisname )
- [AxisSplitArea ](#axissplitarea )
- [AxisSplitLine ](#axissplitline )
- [AxisTheme ](#axistheme )
- [AxisTick ](#axistick )
- [BaseAxisTheme ](#baseaxistheme )
- [BaseLine ](#baseline )
- [BlurStyle ](#blurstyle )
2024-01-01 22:57:50 +08:00
- [BorderStyle ](#borderstyle )
2023-02-14 13:18:39 +08:00
- [CommentItem ](#commentitem )
- [CommentMarkStyle ](#commentmarkstyle )
- [ComponentTheme ](#componenttheme )
- [DataZoomTheme ](#datazoomtheme )
- [EmphasisStyle ](#emphasisstyle )
- [EndLabelStyle ](#endlabelstyle )
- [IconStyle ](#iconstyle )
- [ImageStyle ](#imagestyle )
- [ItemStyle ](#itemstyle )
- [LabelLine ](#labelline )
- [LabelStyle ](#labelstyle )
- [LegendTheme ](#legendtheme )
- [Level ](#level )
- [LevelStyle ](#levelstyle )
- [LineArrow ](#linearrow )
- [LineStyle ](#linestyle )
- [Location ](#location )
- [MarkAreaData ](#markareadata )
- [MarkLineData ](#marklinedata )
- [MarqueeStyle ](#marqueestyle )
2023-07-27 07:58:10 +08:00
- [MLValue ](#mlvalue )
2023-02-14 13:18:39 +08:00
- [Padding ](#padding )
- [PolarAxisTheme ](#polaraxistheme )
- [RadarAxisTheme ](#radaraxistheme )
- [RadiusAxisTheme ](#radiusaxistheme )
- [SelectStyle ](#selectstyle )
- [SerieData ](#seriedata )
2023-12-09 23:22:00 +08:00
- [SerieDataLink ](#seriedatalink )
2023-02-14 13:18:39 +08:00
- [SerieSymbol ](#seriesymbol )
- [SerieTheme ](#serietheme )
- [StageColor ](#stagecolor )
- [StateStyle ](#statestyle )
- [SubTitleTheme ](#subtitletheme )
- [SymbolStyle ](#symbolstyle )
- [TextLimit ](#textlimit )
- [TextPadding ](#textpadding )
- [TextStyle ](#textstyle )
- [ThemeStyle ](#themestyle )
- [TitleStyle ](#titlestyle )
- [TitleTheme ](#titletheme )
- [TooltipTheme ](#tooltiptheme )
2023-03-20 22:00:02 +08:00
- [UIComponentTheme ](#uicomponenttheme )
2024-04-22 22:25:12 +08:00
- [ViewControl ](#viewcontrol )
2023-02-14 13:18:39 +08:00
- [VisualMapRange ](#visualmaprange )
- [VisualMapTheme ](#visualmaptheme )
2022-03-24 21:48:53 +08:00
2023-02-13 07:22:07 +08:00
## ISerieComponent
2022-03-24 21:48:53 +08:00
2023-02-14 13:18:39 +08:00
- [AreaStyle ](#areastyle )
- [BlurStyle ](#blurstyle )
- [EmphasisStyle ](#emphasisstyle )
- [ImageStyle ](#imagestyle )
- [LabelLine ](#labelline )
- [LabelStyle ](#labelstyle )
- [LineArrow ](#linearrow )
- [SelectStyle ](#selectstyle )
- [TitleStyle ](#titlestyle )
2022-03-24 21:48:53 +08:00
## ISerieDataComponent
2023-02-14 13:18:39 +08:00
- [AreaStyle ](#areastyle )
- [BlurStyle ](#blurstyle )
- [EmphasisStyle ](#emphasisstyle )
- [ImageStyle ](#imagestyle )
- [ItemStyle ](#itemstyle )
- [LabelLine ](#labelline )
- [LabelStyle ](#labelstyle )
- [LineStyle ](#linestyle )
- [SelectStyle ](#selectstyle )
- [SerieSymbol ](#seriesymbol )
- [TitleStyle ](#titlestyle )
2022-11-20 22:25:19 +08:00
2023-05-28 22:42:49 +08:00
## Other
2022-11-20 22:25:19 +08:00
2023-07-11 23:11:05 +08:00
- [AnimationAddition ](#animationaddition )
- [AnimationChange ](#animationchange )
2025-03-26 08:28:27 +08:00
- [AnimationExchange ](#animationexchange )
2023-07-11 23:11:05 +08:00
- [AnimationFadeIn ](#animationfadein )
2023-07-12 13:20:54 +08:00
- [AnimationFadeOut ](#animationfadeout )
2023-07-27 07:58:10 +08:00
- [AnimationHiding ](#animationhiding )
2023-07-11 23:11:05 +08:00
- [AnimationInfo ](#animationinfo )
2023-07-14 08:14:00 +08:00
- [AnimationInteraction ](#animationinteraction )
2023-02-14 13:18:39 +08:00
- [BaseSerie ](#baseserie )
- [ChartText ](#charttext )
- [ChildComponent ](#childcomponent )
- [DebugInfo ](#debuginfo )
- [Indicator ](#indicator )
2023-05-28 22:42:49 +08:00
- [INeedSerieContainer ](#ineedseriecontainer )
- [IPropertyChanged ](#ipropertychanged )
- [ISerieComponent ](#iseriecomponent )
- [ISerieContainer ](#iseriecontainer )
- [ISerieDataComponent ](#iseriedatacomponent )
- [ISimplifiedSerie ](#isimplifiedserie )
- [IUpdateRuntimeData ](#iupdateruntimedata )
2023-02-14 13:18:39 +08:00
- [Lang ](#lang )
- [LangCandlestick ](#langcandlestick )
- [LangTime ](#langtime )
- [MainComponent ](#maincomponent )
2024-05-09 13:13:51 +08:00
- [Wrapper<T> ](#wrappert )
2023-02-14 13:18:39 +08:00
- [XCResourcesImporter ](#xcresourcesimporter )
- [XCSettings ](#xcsettings )
2022-03-24 21:48:53 +08:00
2022-10-11 07:00:35 +08:00
## AngleAxis
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2022-03-24 21:48:53 +08:00
Angle axis of Polar Coordinate.
2024-09-21 13:31:16 +08:00
### AngleAxis.startAngle
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Starting angle of axis. 0 degrees by default, standing for right position of center.
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## AngleAxisTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseAxisTheme ](#baseaxistheme )
2022-03-24 21:48:53 +08:00
2023-07-11 23:11:05 +08:00
## AnimationAddition
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-11 23:11:05 +08:00
> Since `v3.8.0`
Data addition animation.
## AnimationChange
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-11 23:11:05 +08:00
> Since `v3.8.0`
Data change animation.
2025-03-26 08:28:27 +08:00
## AnimationExchange
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
> Since `v3.15.0`
Data exchange animation. Generally used for animation of data sorting.
2023-07-11 23:11:05 +08:00
## AnimationFadeIn
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-11 23:11:05 +08:00
> Since `v3.8.0`
Fade in animation.
2023-07-12 13:20:54 +08:00
## AnimationFadeOut
2023-07-11 23:11:05 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-11 23:11:05 +08:00
> Since `v3.8.0`
Fade out animation.
2023-07-27 07:58:10 +08:00
## AnimationHiding
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-27 07:58:10 +08:00
> Since `v3.8.0`
Data hiding animation.
2023-07-11 23:11:05 +08:00
## AnimationInfo
2025-03-26 08:28:27 +08:00
class in XCharts.Runtime / Subclasses: [AnimationFadeIn ](#animationfadein ), [AnimationFadeOut ](#animationfadeout ), [AnimationChange ](#animationchange ), [AnimationAddition ](#animationaddition ), [AnimationHiding ](#animationhiding ), [AnimationInteraction ](#animationinteraction ), [AnimationExchange ](#animationexchange )
2023-07-11 23:11:05 +08:00
> Since `v3.8.0`
the animation info.
2024-09-21 13:31:16 +08:00
### AnimationInfo.delay
2024-09-24 18:26:45 +08:00
`float` `0` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the delay time before animation start.
### AnimationInfo.duration
2023-07-11 23:11:05 +08:00
2024-09-24 18:26:45 +08:00
`float` `1000` `v3.8.0`
2024-09-22 09:54:11 +08:00
2025-03-16 10:45:38 +08:00
the duration of animation. Default is used to calculate the speed of animation. It can also be specified by speed.
2023-07-11 23:11:05 +08:00
2024-09-21 13:31:16 +08:00
### AnimationInfo.enable
2023-07-11 23:11:05 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether enable animation.
### AnimationInfo.reverse
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether enable reverse animation.
2023-07-11 23:11:05 +08:00
2025-03-16 10:45:38 +08:00
### AnimationInfo.speed
`float` `0` `v3.14.0`
the speed of animation. When speed is specified, duration will be invalid. Default is 0, which means no speed specified.
2023-07-14 08:14:00 +08:00
## AnimationInteraction
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [AnimationInfo ](#animationinfo )
2023-07-14 08:14:00 +08:00
> Since `v3.8.0`
Interactive animation of charts.
2024-09-21 13:31:16 +08:00
### AnimationInteraction.offset
2024-09-24 18:26:45 +08:00
[MLValue ](#mlvalue ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the mlvalue of offset. Such as the offset of the pie chart when the sector is selected.
2024-09-21 13:31:16 +08:00
### AnimationInteraction.radius
2023-07-14 08:14:00 +08:00
2024-09-24 18:26:45 +08:00
[MLValue ](#mlvalue ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the mlvalue of radius.
2023-07-14 08:14:00 +08:00
2024-09-21 13:31:16 +08:00
### AnimationInteraction.width
2023-07-14 08:14:00 +08:00
2024-09-24 18:26:45 +08:00
[MLValue ](#mlvalue ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the mlvalue of width.
2023-07-14 08:14:00 +08:00
2022-10-11 07:00:35 +08:00
## AnimationStyle
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2022-03-24 21:48:53 +08:00
2025-03-26 08:28:27 +08:00
the animation of serie. support animation type: fadeIn, fadeOut, change, addition, exchange.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.addition
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AnimationAddition ](#animationaddition ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Add data animation configuration.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.change
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AnimationChange ](#animationchange ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Update data animation configuration.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.easting
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AnimationEasing ](#animationeasing )
2023-06-04 21:52:37 +08:00
2022-03-24 21:48:53 +08:00
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Options:
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
- `Linear` :
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.enable
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to enable animation.
2022-03-24 21:48:53 +08:00
2025-03-26 08:28:27 +08:00
### AnimationStyle.exchange
[AnimationExchange ](#animationexchange ) `v3.15.0`
Exchange animation configuration. Valid in sort bar chart.
2024-09-21 13:31:16 +08:00
### AnimationStyle.fadeIn
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
[AnimationFadeIn ](#animationfadein ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Fade in animation configuration.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.fadeOut
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AnimationFadeOut ](#animationfadeout ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Fade out animation configuration.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.hiding
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AnimationHiding ](#animationhiding ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Data hiding animation configuration.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.interaction
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AnimationInteraction ](#animationinteraction ) `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Interaction animation configuration.
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.threshold
2023-11-24 08:29:55 +08:00
2024-09-24 18:26:45 +08:00
`int` `2000`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.type
2023-11-24 08:29:55 +08:00
2024-09-24 18:26:45 +08:00
[AnimationType ](#animationtype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The type of animation.
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
Options:
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
- `Default` : he default. An animation playback mode will be selected according to the actual situation.
- `LeftToRight` : Play the animation from left to right.
- `BottomToTop` : Play the animation from bottom to top.
- `InsideOut` : Play animations from the inside out.
- `AlongPath` : Play the animation along the path.
- `Clockwise` : Play the animation clockwise.
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
### AnimationStyle.unscaledTime
2023-11-24 08:29:55 +08:00
2024-09-21 13:31:16 +08:00
`bool` `v3.4.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Animation updates independently of Time.timeScale.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## AreaStyle
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
The style of area.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.color
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of area,default use serie color.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.innerFill
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool` `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to fill only polygonal areas. Currently, only convex polygons are supported.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.opacity
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `0.6f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.origin
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AreaStyle.AreaOrigin ](#areastyleareaorigin )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the origin of area.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Auto` : to fill between axis line to data.
- `Start` : to fill between min axis value (when not inverse) to data.
- `End` : to fill between max axis value (when not inverse) to data.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.show
2022-07-19 08:22:42 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to false to prevent the areafrom showing.
2022-07-19 08:22:42 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.toColor
2022-07-20 08:15:27 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Gradient color, start color to toColor.
2022-07-19 08:22:42 +08:00
2024-09-21 13:31:16 +08:00
### AreaStyle.toTop
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to fill the gradient color to the top. The default is true, which means that the gradient color is filled to the top. If it is false, the gradient color is filled to the actual position.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
## ArrowStyle
2022-07-19 08:22:42 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### ArrowStyle.color
2022-07-19 08:22:42 +08:00
2024-09-24 18:26:45 +08:00
`Color32` `Color.clear`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of arrow.
2022-07-19 08:22:42 +08:00
2024-09-21 13:31:16 +08:00
### ArrowStyle.dent
2022-07-20 08:15:27 +08:00
2024-09-24 18:26:45 +08:00
`float` `3`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The dent of arrow.
2022-07-19 08:22:42 +08:00
2024-09-21 13:31:16 +08:00
### ArrowStyle.height
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `15`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The height of arrow.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### ArrowStyle.offset
2022-07-19 08:22:42 +08:00
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The offset of arrow.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### ArrowStyle.width
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The widht of arrow.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## Axis
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
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 )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
The axis in rectangular coordinate.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### Axis.animation
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisAnimation ](#axisanimation )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
animation of axis.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.axisLabel
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisLabel ](#axislabel )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis label.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.axisLine
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisLine ](#axisline )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis Line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.axisName
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
[AxisName ](#axisname )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis name.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.axisTick
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[AxisTick ](#axistick )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis tick.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.boundaryGap
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The boundary gap on both sides of a coordinate axis, which is valid only for category axis with type: 'Category'.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.ceilRate
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### Axis.clockwise
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the positive position of axis is in clockwise. True for clockwise by default.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.data
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`List<string>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Category data, available in type: 'Category' axis.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.gridIndex
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The index of the grid on which the axis are located, by default, is in the first grid.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.icons
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`List<Sprite>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
类目数据对应的图标。
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.indicatorLabel
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle ) `v3.4.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Style of axis tooltip indicator label.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.insertDataToHead
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to add new data at the head or at the end of the list.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.interval
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Compulsively set segmentation interval for axis.This is unavailable for category axis.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.inverse
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the axis are reversed or not. Invalid in `Category` axis.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### Axis.logBase
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Base of logarithm, which is valid only for numeric axes with type: 'Log'.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.logBaseE
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
On the log axis, if base e is the natural number, and is true, logBase fails.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.max
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The maximum value of axis.Valid when `minMaxType` is `Custom`
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.maxCache
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The max number of axis data cache.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.min
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The minimun value of axis.Valid when `minMaxType` is `Custom`
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Axis.minCategorySpacing
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`float` `0` `v3.11.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The minimum spacing between categories.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.minMaxType
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[Axis.AxisMinMaxType ](#axisaxisminmaxtype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of axis minmax.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Default` : 0 - maximum.
- `MinMax` : minimum - maximum.
- `Custom` : Customize the minimum and maximum.
- `MinMaxAuto` : [since("v3.7.0")]minimum - maximum, automatically calculate the appropriate values.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.minorSplitLine
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisMinorSplitLine ](#axisminorsplitline ) `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis minor split line.
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
### Axis.minorTick
2022-07-25 07:46:03 +08:00
2024-09-24 18:26:45 +08:00
[AxisMinorTick ](#axisminortick ) `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis minor tick.
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
### Axis.offset
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the offset of axis from the default position. Useful when the same position has multiple axes.
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
### Axis.parallelIndex
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The index of the parallel on which the axis are located, by default, is in the first parallel.
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
### Axis.polarIndex
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The index of the polar on which the axis are located, by default, is in the first polar.
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
### Axis.position
2024-01-01 22:57:50 +08:00
2024-09-24 18:26:45 +08:00
[Axis.AxisPosition ](#axisaxisposition )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the position of axis in grid.
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
Options:
2024-01-01 22:57:50 +08:00
2024-09-21 13:31:16 +08:00
- `Left` : the position of axis in grid.
- `Right` : the position of axis in grid.
- `Bottom` : the position of axis in grid.
- `Top` : the position of axis in grid.
- `Center` : the position of axis in grid.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.show
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show axis.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.splitArea
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisSplitArea ](#axissplitarea )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis split area.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.splitLine
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AxisSplitLine ](#axissplitline )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Axis.splitNumber
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Number of segments that the axis is split into.
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
### Axis.type
2022-05-22 22:17:38 +08:00
2024-09-24 18:26:45 +08:00
[Axis.AxisType ](#axisaxistype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of axis.
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
Options:
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
- `Value` : Numerical axis, suitable for continuous data.
- `Category` : Category axis, suitable for discrete category data. Data should only be set via data for this type.
- `Log` : Log axis, suitable for log data.
- `Time` : Time axis, suitable for continuous time series data.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
## AxisAnimation
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
> Since `v3.9.0`
animation style of axis.
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
### AxisAnimation.duration
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the duration of animation (ms). When it is set to 0, the animation duration will be automatically calculated according to the serie.
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
### AxisAnimation.show
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether to enable animation.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisAnimation.unscaledTime
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Animation updates independently of Time.timeScale.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## AxisLabel
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [LabelStyle ](#labelstyle )
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
Settings related to axis label.
2022-05-22 22:17:38 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.inside
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to true so the axis labels face the inside direction.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.interval
2022-05-22 22:17:38 +08:00
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The display interval of the axis label.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.onZero
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
刻度标签显示在0刻度上。
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.showAsPositiveNumber
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Show negative number as positive number.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.showEndLabel
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display the last label.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisLabel.showStartLabel
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display the first label.
2022-03-24 21:48:53 +08:00
2025-04-15 22:51:59 +08:00
### AxisLabel.showZeroLabel
`bool` `true` `v3.15.0`
Whether to display the zero label.
2024-09-21 13:31:16 +08:00
### AxisLabel.textLimit
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[TextLimit ](#textlimit )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
文本限制。
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## AxisLine
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseLine ](#baseline )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Settings related to axis line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisLine.arrow
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[ArrowStyle ](#arrowstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the arrow of line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisLine.onZero
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
When mutiple axes exists, this option can be used to specify which axis can be "onZero" to.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisLine.showArrow
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the arrow symbol of axis.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## AxisMinorSplitLine
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseLine ](#baseline )
2023-05-30 07:32:24 +08:00
2024-09-21 13:31:16 +08:00
> Since `v3.2.0`
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Minor split line of axis in grid area.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisMinorSplitLine.autoColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
auto color.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisMinorSplitLine.distance
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The distance between the split line and axis line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## AxisMinorTick
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseLine ](#baseline )
2022-07-25 07:46:03 +08:00
> Since `v3.2.0`
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Settings related to axis minor tick.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisMinorTick.autoColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisMinorTick.splitNumber
2022-05-22 22:17:38 +08:00
2024-09-24 18:26:45 +08:00
`int` `5`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Number of segments that the axis is split into.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## AxisName
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
the name of axis.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisName.labelStyle
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of axis name.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisName.name
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the name of axis.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisName.onZero
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool` `v3.1.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the axis name position are the same with 0 position of YAxis.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisName.show
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show axis name.
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
## AxisSplitArea
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
Split area of axis in grid area, not shown by default.
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitArea.color
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
`List<Color32>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Color of split area. SplitArea color could also be set in color array, which the split lines would take as their colors in turns. Dark and light colors in turns are used by default.
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitArea.show
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to true to show the splitArea.
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
## AxisSplitLine
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseLine ](#baseline )
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
Split line of axis in grid area.
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.autoColor
2023-08-29 18:30:11 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
auto color.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.distance
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The distance between the split line and axis line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.interval
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Interval of Axis splitLine.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.showEndLine
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the last split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.showStartLine
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the first split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### AxisSplitLine.showZLine
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.11.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the Z axis part of the split line. Generally used for 3D coordinate systems.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## AxisTheme
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseAxisTheme ](#baseaxistheme )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
## AxisTick
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseLine ](#baseline )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
Settings related to axis tick.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.alignWithLabel
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Align axis tick with label, which is available only when boundaryGap is set to be true in category axis.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.autoColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2023-05-30 07:32:24 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.distance
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The distance between the tick line and axis line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.inside
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to true so the axis labels face the inside direction.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.showEndTick
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display the last tick.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.showStartTick
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display the first tick.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### AxisTick.splitNumber
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Number of segments that the axis is split into.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## Background
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Background component.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.autoColor
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to use theme background color for component color when the background component is on.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.borderStyle
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[BorderStyle ](#borderstyle ) `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the border style of background.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.image
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Sprite`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the image of background.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Background.imageColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
背景图颜色。
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.imageHeight
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `0` `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the height of background image.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.imageType
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Image.Type`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the fill type of background image.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Background.imageWidth
2022-05-05 13:23:33 +08:00
2024-09-24 18:26:45 +08:00
`float` `0` `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of background image.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Background.show
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to enable the background component.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## Bar
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## BaseAxisTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme ) / Subclasses: [AxisTheme ](#axistheme ), [RadiusAxisTheme ](#radiusaxistheme ), [AngleAxisTheme ](#angleaxistheme ), [PolarAxisTheme ](#polaraxistheme ), [RadarAxisTheme ](#radaraxistheme )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.lineColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of line.
2022-03-26 21:34:38 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.lineLength
2022-03-26 21:34:38 +08:00
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.lineType
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.lineWidth
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.minorSplitLineColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of minor split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.splitAreaColors
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`List<Color32>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the colors of split area.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.splitLineColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.splitLineLength
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.splitLineType
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of split line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Options:
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.splitLineWidth
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of split line.
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.tickColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of tick.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.tickLength
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `5f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of tick.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### BaseAxisTheme.tickWidth
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of tick.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## BaseLine
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ) / Subclasses: [AxisLine ](#axisline ), [AxisMinorSplitLine ](#axisminorsplitline ), [AxisMinorTick ](#axisminortick ), [AxisSplitLine ](#axissplitline ), [AxisTick ](#axistick )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Settings related to base line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseLine.lineStyle
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
线条样式
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BaseLine.show
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to false to prevent the axis line from showing.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## BaseScatter
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer ) / Subclasses: [EffectScatter ](#effectscatter ), [Scatter ](#scatter )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## BaseSerie
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Subclasses: [Serie ](#serie )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
## BlurStyle
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [StateStyle ](#statestyle ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
> Since `v3.2.0`
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Configurations of blur state.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
## BorderStyle
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
> Since `v3.10.0`
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
The style of border.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BorderStyle.borderColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of border.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BorderStyle.borderWidth
2022-06-15 07:36:05 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of border.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### BorderStyle.cornerRadius
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)). When is set to (1,1,1,1), all corners are rounded.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BorderStyle.roundedCorner
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether the border is rounded corner.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### BorderStyle.show
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether the border is visible.
2022-06-15 07:36:05 +08:00
2024-09-21 13:31:16 +08:00
## CalendarCoord
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [IUpdateRuntimeData ](#iupdateruntimedata ), [ISerieContainer ](#iseriecontainer )
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
## Candlestick
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## ChartText
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## ChildComponent
2022-03-24 21:48:53 +08:00
2024-11-30 23:45:28 +08:00
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 )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## Comment
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ), [IPropertyChanged ](#ipropertychanged )
2022-03-24 21:48:53 +08:00
2025-03-26 08:28:27 +08:00
> Since `v3.15.0`
comment of chart. Used to annotate special information in the chart.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### Comment.items
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`List<CommentItem>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The items of comment.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### Comment.labelStyle
2023-11-01 22:41:47 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of all comments.
2022-03-24 21:48:53 +08:00
2025-03-26 08:28:27 +08:00
### Comment.layer
[CommentLayer ](#commentlayer ) `v3.15.0`
The layer of comment.
Options:
- `Lower` : The comment is display under the serie.
- `Upper` : The comment is display above the serie.
2024-09-21 13:31:16 +08:00
### Comment.markStyle
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[CommentMarkStyle ](#commentmarkstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of all comments.
2022-11-20 22:25:19 +08:00
2024-09-21 13:31:16 +08:00
### Comment.show
2022-11-20 22:25:19 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to false to prevent the comment from showing.
2022-11-20 22:25:19 +08:00
2024-09-21 13:31:16 +08:00
## CommentItem
2022-11-20 22:25:19 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
comment of chart.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.content
2022-06-25 11:45:22 +08:00
2024-09-21 13:31:16 +08:00
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
content of comment.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.labelStyle
2023-07-27 07:58:10 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of all comments.
2023-07-27 07:58:10 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.location
2023-07-27 07:58:10 +08:00
2024-09-24 18:26:45 +08:00
[Location ](#location ) `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The location of comment.
2023-07-27 07:58:10 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.markRect
2023-07-27 07:58:10 +08:00
2024-09-21 13:31:16 +08:00
`Rect`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the mark rect of comment.
2023-07-27 07:58:10 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.markStyle
2023-07-27 07:58:10 +08:00
2024-09-24 18:26:45 +08:00
[CommentMarkStyle ](#commentmarkstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the mark rect style.
2023-07-27 07:58:10 +08:00
2024-09-21 13:31:16 +08:00
### CommentItem.show
2022-06-25 11:45:22 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to false to prevent this comment item from showing.
2022-06-25 11:45:22 +08:00
2024-09-21 13:31:16 +08:00
## CommentMarkStyle
2022-06-25 11:45:22 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
the comment mark style.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### CommentMarkStyle.lineStyle
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
line style of comment mark area.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### CommentMarkStyle.show
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set this to false to prevent this comment item from showing.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## ComponentTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ) / Subclasses: [BaseAxisTheme ](#baseaxistheme ), [DataZoomTheme ](#datazoomtheme ), [LegendTheme ](#legendtheme ), [SubTitleTheme ](#subtitletheme ), [TitleTheme ](#titletheme ), [TooltipTheme ](#tooltiptheme ), [VisualMapTheme ](#visualmaptheme )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### ComponentTheme.font
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Font`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of text.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### ComponentTheme.fontSize
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`int` `18`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font size of text.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### ComponentTheme.textBackgroundColor
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of text.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### ComponentTheme.textColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of text.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### ComponentTheme.tMPFont
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`TMP_FontAsset`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of chart text。
2023-09-12 22:42:36 +08:00
2024-09-21 13:31:16 +08:00
## CoordSystem
2023-09-12 22:42:36 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ) / Subclasses: [RadarCoord ](#radarcoord ), [CalendarCoord ](#calendarcoord ), [GridCoord ](#gridcoord ), [GridCoord3D ](#gridcoord3d ), [ParallelCoord ](#parallelcoord ), [PolarCoord ](#polarcoord ), [SingleAxisCoord ](#singleaxiscoord )
2023-09-12 22:42:36 +08:00
2024-09-21 13:31:16 +08:00
Coordinate system component.
2023-09-12 22:42:36 +08:00
2024-09-21 13:31:16 +08:00
## DataZoom
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ), [IUpdateRuntimeData ](#iupdateruntimedata )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
DataZoom component is used for zooming a specific area, which enables user to investigate data in detail, or get an overview of the data, or get rid of outlier points.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.areaStyle
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[AreaStyle ](#areastyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
阴影填充样式。
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.backgroundColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The background color of the component.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.borderColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of dataZoom border.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.borderWidth
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框宽。
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.bottom
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between dataZoom component and the bottom side of the container. bottom value is a instant pixel value like 10 or float value [0-1].
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.enable
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show dataZoom.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.end
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The end percentage of the window out of the data extent, in the range of 0 ~ 100.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.endLock
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Lock end value.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.fillerColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of dataZoom data area.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.filterMode
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[DataZoom.FilterMode ](#datazoomfiltermode )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The mode of data filter.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Filter` : data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered if one of the relevant dimensions is out of the window.
- `WeakFilter` : data that outside the window will be filtered, which may lead to some changes of windows of other axes. For each data item, it will be filtered only if all of the relevant dimensions are out of the same side of the window.
- `Empty` : data that outside the window will be set to NaN, which will not lead to changes of windows of other axes.
- `None` : Do not filter data.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.labelStyle
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
label style.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.left
2024-09-11 08:12:14 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between dataZoom component and the left side of the container. left value is a instant pixel value like 10 or float value [0-1].
2024-09-11 08:12:14 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.lineStyle
2024-09-11 08:12:14 +08:00
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
阴影线条样式。
2024-09-11 08:12:14 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.marqueeStyle
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[MarqueeStyle ](#marqueestyle ) `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
选取框样式。
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.minShowNum
2022-07-25 07:46:03 +08:00
2024-09-24 18:26:45 +08:00
`int` `2`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Minimum number of display data. Minimum number of data displayed when DataZoom is enlarged to maximum.
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.orient
2022-07-25 07:46:03 +08:00
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify whether the layout of dataZoom component is horizontal or vertical. What's more, it indicates whether the horizontal axis or vertical axis is controlled by default in catesian coordinate system.
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Horizonal` : 水平
- `Vertical` : 垂直
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.rangeMode
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[DataZoom.RangeMode ](#datazoomrangemode )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Use absolute value or percent value in DataZoom.start and DataZoom.end.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `//Value` : The value type of start and end.取值类型
- `Percent` : percent value.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.right
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between dataZoom component and the right side of the container. right value is a instant pixel value like 10 or float value [0-1].
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.scrollSensitivity
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`float` `1.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The sensitivity of dataZoom scroll. The larger the number, the more sensitive it is.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.showDataShadow
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show data shadow, to indicate the data tendency in brief.
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.showDetail
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show detail, that is, show the detailed data information when dragging.
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.start
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The start percentage of the window out of the data extent, in the range of 0 ~ 100.
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.startLock
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
`bool` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Lock start value.
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.supportInside
2023-12-09 23:22:00 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether built-in support is supported. Built into the coordinate system to allow the user to zoom in and out of the coordinate system by mouse dragging, mouse wheel, finger swiping (on the touch screen).
2022-05-05 13:23:33 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.supportInsideDrag
2022-05-05 13:23:33 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether insde drag is supported.
2022-05-05 13:23:33 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.supportInsideScroll
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether inside scrolling is supported.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.supportMarquee
2022-05-05 13:23:33 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Supported Box Selected. Provides a marquee for scaling the data area.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.supportSlider
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether a slider is supported. There are separate sliders on which the user zooms or roams.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.top
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between dataZoom component and the top side of the container. top value is a instant pixel value like 10 or float value [0-1].
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.xAxisIndexs
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`List<int>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify which xAxis is controlled by the dataZoom.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.yAxisIndexs
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`List<int>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify which yAxis is controlled by the dataZoom.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoom.zoomLock
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify whether to lock the size of window (selected area).
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
## DataZoomTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.backgroundColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the background color of datazoom.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.borderColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of dataZoom border.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.borderWidth
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of border line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.dataAreaColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of data area line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.dataLineColor
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of data area line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.dataLineWidth
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of data line.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DataZoomTheme.fillerColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of dataZoom data area.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## DebugInfo
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DebugInfo.foldSeries
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to fold series in inspector view.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### DebugInfo.labelStyle
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
### DebugInfo.show
2022-07-25 07:46:03 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether show debug component.
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
### DebugInfo.showAllChartObject
2022-07-25 07:46:03 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether show children components of chart in hierarchy view.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### DebugInfo.showDebugInfo
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2022-07-25 07:46:03 +08:00
2024-09-21 13:31:16 +08:00
## EffectScatter
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [BaseScatter ](#basescatter )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## EmphasisStyle
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [StateStyle ](#statestyle ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
> Since `v3.2.0`
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Configurations of emphasis state.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### EmphasisStyle.blurScope
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
[EmphasisStyle.BlurScope ](#emphasisstyleblurscope )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The range of fade out when focus is enabled.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `GridCoord` : coordinate system.
- `Series` : series.
- `Global` : global.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### EmphasisStyle.focus
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
[EmphasisStyle.FocusType ](#emphasisstylefocustype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
When the data is highlighted, whether to fade out of other data to focus the highlighted.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `None` : Do not fade out other data, it's by default.
- `Self` : Only focus (not fade out) the element of the currently highlighted data.
- `Series` : Focus on all elements of the series which the currently highlighted data belongs to.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### EmphasisStyle.scale
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`float` `1.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to scale to highlight the data in emphasis state.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## EndLabelStyle
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [LabelStyle ](#labelstyle )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
## GridCoord
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [IUpdateRuntimeData ](#iupdateruntimedata ), [ISerieContainer ](#iseriecontainer )
2022-04-26 08:24:45 +08:00
2024-09-21 13:31:16 +08:00
Grid component.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.backgroundColor
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Background color of grid, which is transparent by default.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.borderColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The color of grid border.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.borderWidth
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Border width of grid.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.bottom
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `0.14f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the bottom side of the container.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.layoutIndex
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`int` `-1` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The index of the grid layout component to which the grid belongs. The default is -1, which means that it does not belong to any grid layout component. When this value is set, the left, right, top, and bottom properties will be invalid.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.left
2023-05-28 22:42:49 +08:00
2024-09-24 18:26:45 +08:00
`float` `0.11f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the left side of the container.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.right
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `0.08f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the right side of the container.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.show
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid in rectangular coordinate.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.showBorder
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid border.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### GridCoord.top
2023-06-04 21:52:37 +08:00
2024-09-24 18:26:45 +08:00
`float` `0.22f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the top side of the container.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
## GridCoord3D
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [IUpdateRuntimeData ](#iupdateruntimedata ), [ISerieContainer ](#iseriecontainer )
> Since `v3.11.0`
Grid component.
### GridCoord3D.bottom
2024-09-24 18:26:45 +08:00
`float` `0.15f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the bottom side of the container.
### GridCoord3D.boxDepth
2024-09-24 18:26:45 +08:00
`float` `0.2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The depth of the box in the coordinate system.
### GridCoord3D.boxHeight
2024-09-24 18:26:45 +08:00
`float` `0.4f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The height of the box in the coordinate system.
### GridCoord3D.boxWidth
2024-09-24 18:26:45 +08:00
`float` `0.55f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The width of the box in the coordinate system.
### GridCoord3D.left
2024-09-24 18:26:45 +08:00
`float` `0.15f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the left side of the container.
### GridCoord3D.right
2024-09-24 18:26:45 +08:00
`float` `0.2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the right side of the container.
### GridCoord3D.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid in rectangular coordinate.
### GridCoord3D.showBorder
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid border.
### GridCoord3D.top
2024-09-24 18:26:45 +08:00
`float` `0.3f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the top side of the container.
### GridCoord3D.viewControl
2024-09-24 18:26:45 +08:00
[ViewControl ](#viewcontrol )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
View control component in 3D coordinate system.
2024-09-21 13:31:16 +08:00
### GridCoord3D.xYExchanged
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-21 13:31:16 +08:00
## GridLayout
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ), [IUpdateRuntimeData ](#iupdateruntimedata )
> Since `v3.8.0`
Grid layout component. Used to manage the layout of multiple `GridCoord` , and the number of rows and columns of the grid can be controlled by `row` and `column` .
### GridLayout.bottom
2024-09-24 18:26:45 +08:00
`float` `0.12f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the bottom side of the container.
### GridLayout.column
2024-09-24 18:26:45 +08:00
`int` `2`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the column count of grid layout.
### GridLayout.inverse
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to inverse the grid layout.
### GridLayout.left
2024-09-24 18:26:45 +08:00
`float` `0.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the left side of the container.
### GridLayout.right
2024-09-24 18:26:45 +08:00
`float` `0.08f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the right side of the container.
### GridLayout.row
2024-09-24 18:26:45 +08:00
`int` `2`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the row count of grid layout.
### GridLayout.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid in rectangular coordinate.
### GridLayout.spacing
2024-09-24 18:26:45 +08:00
`Vector2` `Vector2.zero`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the spacing of grid layout.
### GridLayout.top
2024-09-24 18:26:45 +08:00
`float` `0.22f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the top side of the container.
## Heatmap
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
### Heatmap.heatmapType
2024-09-24 18:26:45 +08:00
[HeatmapType ](#heatmaptype ) `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The mapping type of heatmap.
Options:
- `Data` : Data mapping type.By default, the second dimension data is used as the color map.
- `Count` : Number mapping type.The number of occurrences of a statistic in a divided grid, as a color map.
## IconStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
### IconStyle.align
2024-09-24 18:26:45 +08:00
[Align ](#align )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
水平方向对齐方式。
Options:
- `Center` : Alignment mode.
- `Left` : Alignment mode.
- `Right` : Alignment mode.
### IconStyle.autoHideWhenLabelEmpty
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
当label内容为空时是否自动隐藏图标
### IconStyle.color
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标颜色。
### IconStyle.height
2024-09-24 18:26:45 +08:00
`float` `20`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标高。
### IconStyle.layer
2024-09-24 18:26:45 +08:00
[IconStyle.Layer ](#iconstylelayer )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
显示在上层还是在下层。
Options:
- `UnderText` : The icon is display under the label text. 图标在标签文字下
- `AboveText` : The icon is display above the label text. 图标在标签文字上
### IconStyle.offset
`Vector3`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标偏移。
### IconStyle.show
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the data icon is show.
### IconStyle.sprite
`Sprite`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The image of icon.
### IconStyle.type
`Image.Type`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
How to display the icon.
### IconStyle.width
2024-09-24 18:26:45 +08:00
`float` `20`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标宽。
## ImageStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
### ImageStyle.autoColor
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否自动颜色。
### ImageStyle.color
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标颜色。
### ImageStyle.height
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标高。
### ImageStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the data icon is show.
### ImageStyle.sprite
`Sprite`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The image of icon.
### ImageStyle.type
`Image.Type`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
How to display the image.
### ImageStyle.width
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图标宽。
## Indicator
class in XCharts.Runtime
Indicator of radar chart, which is used to assign multiple variables(dimensions) in radar chart.
### Indicator.axisLine
2024-09-24 18:26:45 +08:00
[AxisLine ](#axisline )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
axis line.
2024-09-21 13:31:16 +08:00
### Indicator.axisName
2024-09-24 18:26:45 +08:00
[AxisName ](#axisname )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Name options for radar indicators.
2024-09-21 13:31:16 +08:00
### Indicator.ceilRate
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
### Indicator.center
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the center of radar chart.
### Indicator.connectCenter
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether serie data connect to radar center with line.
### Indicator.gridIndex
2024-09-24 18:26:45 +08:00
`int` `-1` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of layout component that serie uses. Default is -1 means not use layout, otherwise use the first layout component.
### Indicator.indicator
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show indicator.
### Indicator.indicatorGap
2024-09-24 18:26:45 +08:00
`float` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The gap of indicator and radar.
### Indicator.indicatorList
`List<Indicator>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the indicator list.
### Indicator.isAxisTooltip
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否Tooltip显示轴线上的所有数据。
### Indicator.lineGradient
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether need gradient for data line.
### Indicator.max
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The maximum value of indicator, with default value of 0, but we recommend to set it manually.
### Indicator.min
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The minimum value of indicator, with default value of 0.
### Indicator.name
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The name of indicator.
### Indicator.outRangeColor
2024-09-24 18:26:45 +08:00
`Color32` `Color.red`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The color displayed when data out of range.
### Indicator.positionType
`PositionType`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The position type of indicator.
### Indicator.radius
2024-09-24 18:26:45 +08:00
`float` `100`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the radius of radar.
### Indicator.range
`double[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Normal range. When the value is outside this range, the display color is automatically changed.
### Indicator.shape
`Shape`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Radar render type, in which 'Polygon' and 'Circle' are supported.
### Indicator.show
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
[default:true] Set this to false to prevent the radar from showing.
### Indicator.splitArea
2024-09-24 18:26:45 +08:00
[AxisSplitArea ](#axissplitarea )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Split area of axis in grid area.
2024-09-21 13:31:16 +08:00
### Indicator.splitLine
2024-09-24 18:26:45 +08:00
[AxisSplitLine ](#axissplitline )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
split line.
2024-09-21 13:31:16 +08:00
### Indicator.splitNumber
2024-09-24 18:26:45 +08:00
`int` `5`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Segments of indicator axis.
### Indicator.startAngle
`float` `v3.4.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
起始角度。和时钟一样, 12点钟位置是0度, 顺时针到360度。
## INeedSerieContainer
class in XCharts.Runtime / Subclasses: [Bar ](#bar ), [SimplifiedBar ](#simplifiedbar ), [Candlestick ](#candlestick ), [SimplifiedCandlestick ](#simplifiedcandlestick ), [Heatmap ](#heatmap ), [Line ](#line ), [SimplifiedLine ](#simplifiedline ), [Parallel ](#parallel ), [Radar ](#radar ), [BaseScatter ](#basescatter )
## IPropertyChanged
class in XCharts.Runtime / Subclasses: [Location ](#location ), [Comment ](#comment ), [Legend ](#legend ), [Title ](#title )
属性变更接口
## ISerieComponent
class in XCharts.Runtime / Subclasses: [AreaStyle ](#areastyle ), [ImageStyle ](#imagestyle ), [LineArrow ](#linearrow ), [LabelLine ](#labelline ), [LabelStyle ](#labelstyle ), [BlurStyle ](#blurstyle ), [EmphasisStyle ](#emphasisstyle ), [SelectStyle ](#selectstyle ), [TitleStyle ](#titlestyle )
The interface for serie component.
## ISerieContainer
class in XCharts.Runtime / Subclasses: [RadarCoord ](#radarcoord ), [CalendarCoord ](#calendarcoord ), [GridCoord ](#gridcoord ), [GridCoord3D ](#gridcoord3d ), [ParallelCoord ](#parallelcoord ), [PolarCoord ](#polarcoord )
## ISerieDataComponent
class in XCharts.Runtime / Subclasses: [AreaStyle ](#areastyle ), [ImageStyle ](#imagestyle ), [ItemStyle ](#itemstyle ), [LineStyle ](#linestyle ), [SerieSymbol ](#seriesymbol ), [LabelLine ](#labelline ), [LabelStyle ](#labelstyle ), [BlurStyle ](#blurstyle ), [EmphasisStyle ](#emphasisstyle ), [SelectStyle ](#selectstyle ), [TitleStyle ](#titlestyle )
The interface for serie data component.
## ISimplifiedSerie
class in XCharts.Runtime / Subclasses: [SimplifiedBar ](#simplifiedbar ), [SimplifiedCandlestick ](#simplifiedcandlestick ), [SimplifiedLine ](#simplifiedline )
## ItemStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieDataComponent ](#iseriedatacomponent )
图形样式。
### ItemStyle.backgroundColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据项背景颜色。
2025-03-26 08:28:27 +08:00
### ItemStyle.backgroundGap
`float` `v3.15.0`
the gap between background and data item.
2024-09-21 13:31:16 +08:00
### ItemStyle.backgroundWidth
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据项背景宽度。
### ItemStyle.borderColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框的颜色。
### ItemStyle.borderColor0
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框的颜色。
### ItemStyle.borderGap
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框间隙。
### ItemStyle.borderToColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框的渐变色。
### ItemStyle.borderWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
边框宽。
### ItemStyle.centerColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
中心区域颜色。
### ItemStyle.centerGap
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
中心区域间隙。
### ItemStyle.color
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据项颜色。
### ItemStyle.color0
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据项颜色。
### ItemStyle.cornerRadius
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)).
### ItemStyle.itemFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
提示框单项的字符串模版格式器。具体配置参考`Tooltip` 的`formatter`
### ItemStyle.itemMarker
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
提示框单项的字符标志。用在Tooltip中。
### ItemStyle.markColor
`Color32` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Serie's mark color. It is only used to display Legend and Tooltip, and does not affect the drawing color. The default value is clear.
### ItemStyle.numericFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()` . <br /> The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2<br /> Date format: Starts with `date` , which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss<br /> Time format: Starts with `time` , which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss<br /> number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> Note: The date and time formats are only supported by 'v3.12.0' or later.<br/>
### ItemStyle.opacity
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
透明度。支持从 0 到 1 的数字,为 0 时不绘制该图形。
### ItemStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否启用。
### ItemStyle.toColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Gradient color1.
### ItemStyle.toColor2
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Gradient color2.Only valid in line diagrams.
## IUpdateRuntimeData
class in XCharts.Runtime / Subclasses: [SingleAxis ](#singleaxis ), [DataZoom ](#datazoom ), [CalendarCoord ](#calendarcoord ), [GridCoord ](#gridcoord ), [GridLayout ](#gridlayout ), [GridCoord3D ](#gridcoord3d ), [ParallelCoord ](#parallelcoord )
## LabelLine
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
标签的引导线
### LabelLine.endSymbol
2024-09-24 18:26:45 +08:00
[SymbolStyle ](#symbolstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The symbol of the end point of labelline.
2024-09-21 13:31:16 +08:00
### LabelLine.lineAngle
2024-09-24 18:26:45 +08:00
`float` `60`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the angle of visual guild line. Valid for broken line and curve line. Invalid in Pie.
### LabelLine.lineColor
2024-09-24 18:26:45 +08:00
`Color32` `Color32(0,0,0,0)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of visual guild line.
### LabelLine.lineEndX
2024-09-24 18:26:45 +08:00
`float` `0f` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The fixed x position of the end point of visual guide line.
### LabelLine.lineGap
2024-09-24 18:26:45 +08:00
`float` `1.0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the gap of container and guild line.
### LabelLine.lineLength1
2024-09-24 18:26:45 +08:00
`float` `25f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The length of the first segment of visual guide line.
### LabelLine.lineLength2
2024-09-24 18:26:45 +08:00
`float` `15f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The length of the second segment of visual guide line.
### LabelLine.lineType
2024-09-24 18:26:45 +08:00
[LabelLine.LineType ](#labellinelinetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of visual guide line.
Options:
- `BrokenLine` : 折线
- `Curves` : 曲线
- `HorizontalLine` : 水平线
### LabelLine.lineWidth
2024-09-24 18:26:45 +08:00
`float` `1.0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of visual guild line.
### LabelLine.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the label line is showed.
### LabelLine.startSymbol
2024-09-24 18:26:45 +08:00
[SymbolStyle ](#symbolstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The symbol of the start point of labelline.
2024-09-21 13:31:16 +08:00
## LabelStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent ) / Subclasses: [AxisLabel ](#axislabel ), [EndLabelStyle ](#endlabelstyle ), [TitleStyle ](#titlestyle )
Text label of chart, to explain some data information about graphic item like value, name and so on.
### LabelStyle.autoOffset
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to automatically offset. When turned on, the Y offset will automatically determine the opening of the curve to determine whether to offset up or down.
### LabelStyle.autoRotate
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
auto rotate of label.
### LabelStyle.background
2024-09-24 18:26:45 +08:00
[ImageStyle ](#imagestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the sytle of background.
2024-09-21 13:31:16 +08:00
### LabelStyle.distance
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the distance of label to axis line.
2025-03-26 08:28:27 +08:00
### LabelStyle.fixedX
`float` `0` `v3.15.0`
the fixed x of label. When not 0, it will be fixed on the specified x value.
### LabelStyle.fixedY
`float` `0` `v3.15.0`
the fixed y of label. When not 0, it will be fixed on the specified y value.
2024-09-21 13:31:16 +08:00
### LabelStyle.formatter
`string`
2024-09-22 09:54:11 +08:00
2025-03-16 10:45:38 +08:00
label content string template formatter. \n line wrapping is supported. Formatters for some components will not take effect. <br /> Template placeholder have the following, some of which apply only to fixed components: <br /> `\{.\}` : indicates the dot mark. <br /> `\{a\}` : indicates the series name. <br /> `\{b\}` : category value of x axis or data name. <br /> `\{c\}` : data value. <br /> `\{d\}` : percentage. <br /> `\{e\}` : indicates the data name. <br /> `\{f\}` : data sum. <br /> `\{g\}` : indicates the total number of data. <br /> `\{h\}` : hexadecimal color value. <br /> `\{y\}` : category value of y axis. <br /> `\{value\}` : the value of the axis or legend. <br /> `\{index\}` : the index of the axis. <br /> The following placeholder apply to `UITable` components: <br /> `\{name\}` : indicates the row name of the table. <br /> `\{index\}` : indicates the row number of the table. <br /> The following placeholder apply to `UIStatistc` components: <br /> `\{title\}` : title text. <br /> `\{dd\}` : day. <br /> `\{hh\}` : hours. <br /> `\{mm\}` : minutes. <br /> `\{ss\}` : second. <br /> `\{fff\}` : milliseconds. <br /> `\{d\}` : day. <br /> `\{h\}` : hours. <br /> `\{m\}` : minutes. <br /> `\{s\}` : second. <br /> `\{f\}` : milliseconds. <br /> Example :\{b\}:\{c\}<br />
2024-09-21 13:31:16 +08:00
### LabelStyle.height
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the height of label. If set as default value 0, it means than the label height auto set as the text height.
### LabelStyle.icon
2024-09-24 18:26:45 +08:00
[IconStyle ](#iconstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the sytle of icon.
2024-09-21 13:31:16 +08:00
### LabelStyle.numericFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()` . <br /> The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2<br /> Date format: Starts with `date` , which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss<br /> Time format: Starts with `time` , which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss<br /> number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> Note: The date and time formats are only supported by 'v3.12.0' or later.<br/>
### LabelStyle.offset
`Vector3`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
offset to the host graphic element.
### LabelStyle.Position
`[SerializeField]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The position of label.
### LabelStyle.rotate
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Rotation of label.
### LabelStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the label is showed.
### LabelStyle.textPadding
2024-09-24 18:26:45 +08:00
[TextPadding ](#textpadding )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the text padding of label.
2024-09-21 13:31:16 +08:00
### LabelStyle.textStyle
2024-09-24 18:26:45 +08:00
[TextStyle ](#textstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the sytle of text.
2024-09-21 13:31:16 +08:00
### LabelStyle.width
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of label. If set as default value 0, it means than the label width auto set as the text width.
## Lang
class in XCharts.Runtime / Inherits from: [ScriptableObject ](https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject )
Language.
## LangCandlestick
class in XCharts.Runtime
## LangTime
class in XCharts.Runtime
## Legend
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ), [IPropertyChanged ](#ipropertychanged )
Legend component.The legend component shows different sets of tags, colors, and names. You can control which series are not displayed by clicking on the legend.
### Legend.background
2024-09-24 18:26:45 +08:00
[ImageStyle ](#imagestyle ) `v3.1.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the sytle of background.
2024-09-21 13:31:16 +08:00
### Legend.colors
`List<Color>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the colors of legend item.
### Legend.data
`List<string>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Data array of legend. An array item is usually a name representing string. (If it is a pie chart, it could also be the name of a single data in the pie chart) of a series. If data is not specified, it will be auto collected from series.
### Legend.formatter
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
No longer used, the use of LabelStyle.formatter instead.
### Legend.icons
`List<Sprite>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
自定义的图例标记图形。
### Legend.iconType
2024-09-24 18:26:45 +08:00
[Legend.Type ](#legendtype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Type of legend.
Options:
- `Auto` : 自动匹配。
- `Custom` : 自定义图标。
- `EmptyCircle` : 空心圆。
- `Circle` : 圆形。
- `Rect` : 正方形。可通过Setting的legendIconCornerRadius参数调整圆角。
- `Triangle` : 三角形。
- `Diamond` : 菱形。
- `Candlestick` : 烛台( 可用于K线图) 。
### Legend.itemAutoColor
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the legend symbol matches the color automatically.
### Legend.itemGap
2024-09-24 18:26:45 +08:00
`float` `10f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The distance between each legend, horizontal distance in horizontal layout, and vertical distance in vertical layout.
### Legend.itemHeight
2024-09-24 18:26:45 +08:00
`float` `12.0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Image height of legend symbol.
2025-03-27 22:35:02 +08:00
### Legend.itemInactiveOpacity
`float` `1` `v3.15.0`
the opacity of item color when item is inactive.
2024-09-21 13:31:16 +08:00
### Legend.itemOpacity
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the opacity of item color.
### Legend.itemWidth
2024-09-24 18:26:45 +08:00
`float` `25.0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Image width of legend symbol.
### Legend.labelStyle
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the style of text.
2024-09-21 13:31:16 +08:00
### Legend.location
2024-09-24 18:26:45 +08:00
[Location ](#location )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The location of legend.
2024-09-21 13:31:16 +08:00
### Legend.orient
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify whether the layout of legend component is horizontal or vertical.
Options:
- `Horizonal` : 水平
- `Vertical` : 垂直
### Legend.padding
2024-09-24 18:26:45 +08:00
[Padding ](#padding ) `v3.1.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the paddinng of item and background.
2024-09-21 13:31:16 +08:00
### Legend.positions
`List<Vector3>` `v3.6.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the custom positions of legend item.
### Legend.selectedMode
2024-09-24 18:26:45 +08:00
[Legend.SelectedMode ](#legendselectedmode )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Selected mode of legend, which controls whether series can be toggled displaying by clicking legends.
Options:
- `Multiple` : 多选。
- `Single` : 单选。
- `None` : 无法选择。
### Legend.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show legend component.
### Legend.textLimit
2024-09-24 18:26:45 +08:00
[TextLimit ](#textlimit ) `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the limit of text.
2024-09-21 13:31:16 +08:00
## LegendTheme
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
2025-03-27 22:35:02 +08:00
### LegendTheme.inactiveColor
2024-09-21 13:31:16 +08:00
`Color`
2024-09-22 09:54:11 +08:00
2025-03-27 22:35:02 +08:00
the color when the component is inactive.
2024-09-21 13:31:16 +08:00
## Level
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
### Level.depth
2024-09-24 18:26:45 +08:00
`int` `0` `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the depth of level.
### Level.itemStyle
2024-09-24 18:26:45 +08:00
[ItemStyle ](#itemstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the item style of level.
2024-09-21 13:31:16 +08:00
### Level.label
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the label style of level.
2024-09-21 13:31:16 +08:00
### Level.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle ) `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the line style of level.
2024-09-21 13:31:16 +08:00
### Level.upperLabel
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the upper label style of level.
2024-09-21 13:31:16 +08:00
## LevelStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
> Since `v3.10.0`
### LevelStyle.levels
`List<Level>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
各层节点对应的配置。当enableLevels为true时生效, levels[0]对应的第一层的配置, levels[1]对应第二层, 依次类推。当levels中没有对应层时用默认的设置。
### LevelStyle.show
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否启用LevelStyle
## Line
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
## LineArrow
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieComponent ](#iseriecomponent )
### LineArrow.arrow
2024-09-24 18:26:45 +08:00
[ArrowStyle ](#arrowstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the arrow of line.
2024-09-21 13:31:16 +08:00
### LineArrow.position
2024-09-24 18:26:45 +08:00
[LineArrow.Position ](#linearrowposition )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The position of arrow.
Options:
- `End` : 末端箭头
- `Start` : 头端箭头
### LineArrow.show
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the arrow.
## LineStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [ISerieDataComponent ](#iseriedatacomponent )
The style of line.
### LineStyle.color
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of line, default use serie color.
### LineStyle.dashLength
2024-09-24 18:26:45 +08:00
`float` `4` `v3.8.1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of dash line. default value is 0, which means the length of dash line is 12 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.dotLength
2024-09-24 18:26:45 +08:00
`float` `2` `v3.8.1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of dot line. default value is 0, which means the length of dot line is 2 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.gapLength
2024-09-24 18:26:45 +08:00
`float` `2` `v3.8.1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of gap line. default value is 0, which means the length of gap line is 3 times of line width. Represents a multiple of the number of segments in a line chart.
### LineStyle.length
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the length of line.
### LineStyle.opacity
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Opacity of the line. Supports value from 0 to 1, and the line will not be drawn when set to 0.
### LineStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether show line.
### LineStyle.toColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the middle color of line, default use serie color.
### LineStyle.toColor2
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the end color of line, default use serie color.
### LineStyle.type
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of line.
Options:
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
### LineStyle.width
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of line.
## Location
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ), [IPropertyChanged ](#ipropertychanged )
Location type. Quick to set the general location.
### Location.align
2024-09-24 18:26:45 +08:00
[Location.Align ](#locationalign )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
对齐方式。
Options:
- `TopLeft` : 对齐方式
- `TopRight` : 对齐方式
- `TopCenter` : 对齐方式
- `BottomLeft` : 对齐方式
- `BottomRight` : 对齐方式
- `BottomCenter` : 对齐方式
- `Center` : 对齐方式
- `CenterLeft` : 对齐方式
- `CenterRight` : 对齐方式
### Location.bottom
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
### Location.left
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
### Location.right
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
### Location.top
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
## MainComponent
class in XCharts.Runtime / Inherits from: [IComparable ](https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable ) / Subclasses: [Axis ](#axis ), [Background ](#background ), [Comment ](#comment ), [DataZoom ](#datazoom ), [Legend ](#legend ), [MarkArea ](#markarea ), [MarkLine ](#markline ), [Settings ](#settings ), [Title ](#title ), [Tooltip ](#tooltip ), [VisualMap ](#visualmap ), [GridLayout ](#gridlayout ), [CoordSystem ](#coordsystem )
## MarkArea
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
Used to mark an area in chart. For example, mark a time interval.
### MarkArea.end
2024-09-24 18:26:45 +08:00
[MarkAreaData ](#markareadata )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
标域范围的结束数据。
2024-09-21 13:31:16 +08:00
### MarkArea.itemStyle
2024-09-24 18:26:45 +08:00
[ItemStyle ](#itemstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
标域样式。
2024-09-21 13:31:16 +08:00
### MarkArea.label
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
标域文本样式。
2024-09-21 13:31:16 +08:00
### MarkArea.serieIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Serie index of markArea. 标域影响的Serie索引。
### MarkArea.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否显示标域。
### MarkArea.start
2024-09-24 18:26:45 +08:00
[MarkAreaData ](#markareadata )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
标域范围的起始数据。
2024-09-21 13:31:16 +08:00
### MarkArea.text
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The text of markArea. 标域显示的文本。
## MarkAreaData
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
标域的数据。
### MarkAreaData.dimension
2024-09-24 18:26:45 +08:00
`int` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
From which dimension of data to calculate the maximum and minimum value and so on.
### MarkAreaData.name
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Name of the marker, which will display as a label.
### MarkAreaData.type
2024-09-24 18:26:45 +08:00
[MarkAreaType ](#markareatype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Special markArea types, are used to label maximum value, minimum value and so on.
Options:
- `None` : 标域类型
- `Min` : 最小值。
- `Max` : 最大值。
- `Average` : 平均值。
- `Median` : 中位数。
### MarkAreaData.xPosition
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The x coordinate relative to the origin, in pixels.
### MarkAreaData.xValue
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value.
### MarkAreaData.yPosition
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The y coordinate relative to the origin, in pixels.
### MarkAreaData.yValue
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value.
## MarkLine
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
Use a line in the chart to illustrate.
### MarkLine.animation
2024-09-24 18:26:45 +08:00
[AnimationStyle ](#animationstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The animation of markline.
2024-09-21 13:31:16 +08:00
### MarkLine.data
`List<MarkLineData>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
A list of marked data. When the group of data item is 0, each data item represents a line; When the group is not 0, two data items of the same group represent the starting point and the ending point of the line respectively to form a line. In this case, the relevant style parameters of the line are the parameters of the starting point.
### MarkLine.onTop
2024-09-24 18:26:45 +08:00
`bool` `true` `v3.9.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether the markline is on top.
### MarkLine.serieIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The serie index of markLine.
### MarkLine.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display the marking line.
## MarkLineData
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
> Since `v3.9.0`
Data of marking line.
### MarkLineData.dimension
2024-09-24 18:26:45 +08:00
`int` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
From which dimension of data to calculate the maximum and minimum value and so on.
### MarkLineData.endSymbol
2024-09-24 18:26:45 +08:00
[SymbolStyle ](#symbolstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The symbol of the end point of markline.
2024-09-21 13:31:16 +08:00
### MarkLineData.group
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Grouping. When the group is not 0, it means that this data is the starting point or end point of the marking line. Data consistent with the group form a marking line.
### MarkLineData.label
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
Text styles of label. You can set position to Start, Middle, and End to display text in different locations.
2024-09-21 13:31:16 +08:00
### MarkLineData.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The line style of markline.
2024-09-21 13:31:16 +08:00
### MarkLineData.name
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Name of the marker, which will display as a label.
### MarkLineData.startSymbol
2024-09-24 18:26:45 +08:00
[SymbolStyle ](#symbolstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The symbol of the start point of markline.
2024-09-21 13:31:16 +08:00
### MarkLineData.type
2024-09-24 18:26:45 +08:00
[MarkLineType ](#marklinetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Special label types, are used to label maximum value, minimum value and so on.
Options:
2025-03-27 22:35:02 +08:00
- `Custom` : Custom. You can customize the xy coordinates or values.
- `Min` : Minimum value.
- `Max` : Maximum value.
- `Average` : Average value.
- `Median` : Median.
2024-09-21 13:31:16 +08:00
### MarkLineData.xPosition
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The x coordinate relative to the origin, in pixels.
### MarkLineData.xValue
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The value specified on the X-axis. A value specified when the X-axis is the category axis represents the index of the category axis data, otherwise a specific value.
### MarkLineData.yPosition
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The y coordinate relative to the origin, in pixels.
### MarkLineData.yValue
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
That's the value on the Y-axis. The value specified when the Y axis is the category axis represents the index of the category axis data, otherwise the specific value.
### MarkLineData.zeroPosition
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Is the origin of the coordinate system.
## MarqueeStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
> Since `v3.5.0`
Marquee style. It can be used for the DataZoom component. 选取框样式。可用于DataZoom组件。
### MarqueeStyle.apply
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Check whether the scope is applied to the DataZoom. If this parameter is set to true, the range after the selection is complete is the DataZoom selection range.
### MarqueeStyle.areaStyle
2024-09-24 18:26:45 +08:00
[AreaStyle ](#areastyle ) `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The area style of marquee.
2024-09-21 13:31:16 +08:00
### MarqueeStyle.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle ) `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The line style of marquee border.
2024-09-21 13:31:16 +08:00
### MarqueeStyle.realRect
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to select the actual box selection area. When true, the actual range between the mouse's actual point and the end point is used as the box selection area.
## MLValue
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
> Since `v3.8.0`
多样式数值。
### MLValue.type
2024-09-24 18:26:45 +08:00
[MLValue.Type ](#mlvaluetype )
2024-09-21 13:31:16 +08:00
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Options:
- `Percent` : Percent value form.
- `Absolute` : Absolute value form.
- `Extra` : Extra value form.
### MLValue.value
`float`
## Padding
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ) / Subclasses: [TextPadding ](#textpadding )
padding setting of item or text.
### Padding.bottom
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
padding of bottom.
### Padding.left
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
padding of left.
### Padding.right
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
padding of right.
### Padding.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
show padding. 是否显示。
### Padding.top
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
padding of top.
## Parallel
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
## ParallelAxis
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
## ParallelCoord
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [IUpdateRuntimeData ](#iupdateruntimedata ), [ISerieContainer ](#iseriecontainer )
Grid component.
### ParallelCoord.backgroundColor
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Background color of grid, which is transparent by default.
### ParallelCoord.bottom
2024-09-24 18:26:45 +08:00
`float` `0.12f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the bottom side of the container.
### ParallelCoord.left
2024-09-24 18:26:45 +08:00
`float` `0.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the left side of the container.
### ParallelCoord.orient
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Orientation of the axis. By default, it's 'Vertical'. You can set it to be 'Horizonal' to make a vertical axis.
Options:
- `Horizonal` : 水平
- `Vertical` : 垂直
### ParallelCoord.right
2024-09-24 18:26:45 +08:00
`float` `0.08f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the right side of the container.
### ParallelCoord.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the grid in rectangular coordinate.
### ParallelCoord.top
2024-09-24 18:26:45 +08:00
`float` `0.22f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between grid component and the top side of the container.
## Pie
class in XCharts.Runtime / Inherits from: [Serie ](#serie )
### Pie.radiusGradient
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.8.1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to use gradient color in pie chart.
## PolarAxisTheme
class in XCharts.Runtime / Inherits from: [BaseAxisTheme ](#baseaxistheme )
## PolarCoord
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [ISerieContainer ](#iseriecontainer )
Polar coordinate can be used in scatter and line chart. Every polar coordinate has an angleAxis and a radiusAxis.
### PolarCoord.backgroundColor
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Background color of polar, which is transparent by default.
### PolarCoord.center
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The center of ploar. The center[0] is the x-coordinate, and the center[1] is the y-coordinate. When value between 0 and 1 represents a percentage relative to the chart.
### PolarCoord.indicatorLabelOffset
2024-09-24 18:26:45 +08:00
`float` `30f` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The offset of indicator label.
### PolarCoord.radius
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the radius of polar.
### PolarCoord.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the polor component.
## Radar
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer )
### Radar.smooth
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether use smooth curve.
## RadarAxisTheme
class in XCharts.Runtime / Inherits from: [BaseAxisTheme ](#baseaxistheme )
## RadarCoord
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem ), [ISerieContainer ](#iseriecontainer )
Radar coordinate conponnet for radar charts. 雷达图坐标系组件,只适用于雷达图。
## RadiusAxis
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
Radial axis of polar coordinate.
## RadiusAxisTheme
class in XCharts.Runtime / Inherits from: [BaseAxisTheme ](#baseaxistheme )
## Ring
class in XCharts.Runtime / Inherits from: [Serie ](#serie )
### Ring.radiusGradient
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.12.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to use gradient color in pie chart.
## Scatter
class in XCharts.Runtime / Inherits from: [BaseScatter ](#basescatter )
## SelectStyle
class in XCharts.Runtime / Inherits from: [StateStyle ](#statestyle ), [ISerieComponent ](#iseriecomponent ), [ISerieDataComponent ](#iseriedatacomponent )
> Since `v3.2.0`
Configurations of select state.
## Serie
class in XCharts.Runtime / Inherits from: [BaseSerie ](#baseserie ), [IComparable ](https://docs.unity3d.com/ScriptReference/30_search.html?q=IComparable ) / Subclasses: [SerieHandler<T> ](#seriehandlert ), [Bar ](#bar ), [SimplifiedBar ](#simplifiedbar ), [Candlestick ](#candlestick ), [SimplifiedCandlestick ](#simplifiedcandlestick ), [Heatmap ](#heatmap ), [Line ](#line ), [SimplifiedLine ](#simplifiedline ), [Parallel ](#parallel ), [Pie ](#pie ), [Radar ](#radar ), [Ring ](#ring ), [BaseScatter ](#basescatter )
2024-11-30 23:45:28 +08:00
系列。系列一般由数据和配置组成,用来表示具体的图表图形,如折线图的一条折线,柱图的一组柱子等。一个图表中可以包含多个不同类型的系列。
2024-09-21 13:31:16 +08:00
### Serie.align
2024-09-24 18:26:45 +08:00
[Align ](#align )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
组件水平方向对齐方式。
Options:
- `Center` : Alignment mode.
- `Left` : Alignment mode.
- `Right` : Alignment mode.
### Serie.animation
2024-09-24 18:26:45 +08:00
[AnimationStyle ](#animationstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The start animation.
2024-09-21 13:31:16 +08:00
### Serie.avoidLabelOverlap
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
If the pie chart and labels are displayed externally, whether to enable the label overlap prevention policy is disabled by default. If labels are crowded and overlapped, the positions of labels are moved to prevent label overlap.
### Serie.barGap
2024-09-24 18:26:45 +08:00
`float` `0.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The gap between bars between different series, is a percent value like '0.3f' , which means 30% of the bar width, can be set as a fixed value. Set barGap as '-1' can overlap bars that belong to different series, which is useful when making a series of bar be background. In a single coodinate system, this attribute is shared by multiple 'bar' series. This attribute should be set on the last 'bar' series in the coodinate system, then it will be adopted by all 'bar' series in the coordinate system.
### Serie.barMaxWidth
2024-09-24 18:26:45 +08:00
`float` `0` `v3.5.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The max width of the bar. Adaptive when default 0.
### Serie.barPercentStack
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
柱形图是否为百分比堆积。相同stack的serie只要有一个barPercentStack为true, 则就显示成百分比堆叠柱状图。
### Serie.barType
2024-09-24 18:26:45 +08:00
[BarType ](#bartype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
柱形图类型。
Options:
- `Normal` : normal bar.
- `Zebra` : zebra bar.
- `Capsule` : capsule bar.
### Serie.barWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The width of the bar. Adaptive when default 0.
### Serie.barZebraGap
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
斑马线的间距。
### Serie.barZebraWidth
2024-09-24 18:26:45 +08:00
`float` `4f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
斑马线的粗细。
### Serie.bottom
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the bottom side of the container.
### Serie.center
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the center of chart.
### Serie.clickOffset
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether offset when mouse click pie chart item.
### Serie.clip
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
If clip the overflow on the coordinate system.
### Serie.clockwise
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否顺时针。
### Serie.colorBy
2024-09-24 18:26:45 +08:00
[SerieColorBy ](#seriecolorby ) `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The policy to take color from theme.
Options:
- `Default` : Select state.
- `Serie` : assigns the colors in the palette by serie, so that all data in the same series are in the same color.
- `Data` : assigns colors in the palette according to data items, with each data item using a different color.
### Serie.coordSystem
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the chart coord system of serie.
### Serie.data
`List<SerieData>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
系列中的数据内容数组。SerieData可以设置1到n维数据。
### Serie.dataSortType
2024-09-24 18:26:45 +08:00
[SerieDataSortType ](#seriedatasorttype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
组件的数据排序。
Options:
- `None` : In the order of data.
- `Ascending` : Sort data in ascending order.
- `Descending` : Sort data in descending order.
### Serie.endAngle
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
结束角度。和时钟一样, 12点钟位置是0度, 顺时针到360度。
### Serie.gap
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
gap of item.
### Serie.gridIndex
2024-09-24 18:26:45 +08:00
`int` `-1` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of layout component that serie uses. Default is -1 means not use layout, otherwise use the first layout component.
### Serie.ignore
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否开启忽略数据。当为 true 时,数据值为 ignoreValue 时不进行绘制。
### Serie.ignoreLineBreak
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
忽略数据时折线是断开还是连接。默认false为连接。
### Serie.ignoreValue
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
忽略数据的默认值。当ignore为true才有效。
### Serie.index
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The index of serie.
### Serie.insertDataToHead
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to add new data at the head or at the end of the list.
### Serie.itemStyle
2024-09-24 18:26:45 +08:00
[ItemStyle ](#itemstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The style of data item.
2024-09-21 13:31:16 +08:00
### Serie.large
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否开启大数据量优化,在数据图形特别多而出现卡顿时候可以开启。 开启后配合 largeThreshold 在数据量大于指定阈值的时候对绘制进行优化。 缺点: 优化后不能自定义设置单个数据项的样式, 不能显示Label。
### Serie.largeThreshold
2024-09-24 18:26:45 +08:00
`int` `200`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Turn on the threshold for mass optimization. Enter performance mode only when large is enabled and the amount of data is greater than the threshold.
### Serie.left
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
### Serie.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The style of line.
2024-09-21 13:31:16 +08:00
### Serie.lineType
2024-09-24 18:26:45 +08:00
[LineType ](#linetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The type of line chart.
Options:
- `Normal` : the normal line chart,
- `Smooth` : the smooth line chart,
- `StepStart` : step line.
- `StepMiddle` : step line.
- `StepEnd` : step line.
### Serie.links
`List<SerieDataLink>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据节点的边。
### Serie.max
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
最大值。
### Serie.maxCache
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The max number of serie data cache. The first data will be remove when the size of serie data is larger then maxCache.
### Serie.maxShow
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The max number of data to show in chart.
### Serie.maxSize
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据最大值 max 映射的宽度。
### Serie.min
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
最小值。
### Serie.minAngle
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The minimum angle of sector(0-360). It prevents some sector from being too small when value is small.
### Serie.minRadius
2024-09-24 18:26:45 +08:00
`float` `0f` `v3.8.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the min radius of chart. It can be used to limit the minimum radius of the rose chart.
### Serie.minShow
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The min number of data to show in chart.
### Serie.minShowLabel
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the label is not displayed when the enabled value is less than the specified value.
### Serie.minShowLabelValue
2024-09-24 18:26:45 +08:00
`double` `0` `v3.10.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
When 'minShowLabel' is enabled, labels are not displayed if the value is less than this value.
### Serie.minSize
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据最小值 min 映射的宽度。
### Serie.orient
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
组件的朝向。
Options:
- `Horizonal` : 水平
- `Vertical` : 垂直
### Serie.parallelIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of parallel coord component that serie uses.
### Serie.placeHolder
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
占位模式。占位模式时,数据有效但不参与渲染和显示。
### Serie.polarIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of polar component that serie uses.
### Serie.radarIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of radar component that radar chart uses.
### Serie.radarType
2024-09-24 18:26:45 +08:00
[RadarType ](#radartype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
雷达图类型。
Options:
- `Multiple` : multiple radar.
- `Single` : single radar.
### Serie.radius
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the radius of chart.
2025-03-16 10:45:38 +08:00
### Serie.realtimeSort
`bool` `false` `v3.14.0`
Whether to enable realtime sorting, which is used for bar-racing effect. Currently only available in Bar.
2024-09-21 13:31:16 +08:00
### Serie.right
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the right side of the container.
### Serie.roseType
2024-09-24 18:26:45 +08:00
[RoseType ](#rosetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show as Nightingale chart.
Options:
- `None` : Don't show as Nightingale chart.
- `Radius` : Use central angle to show the percentage of data, radius to show data size.
- `Area` : All the sectors will share the same central angle, the data size is shown only through radiuses.
### Serie.roundCap
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否开启圆弧效果。
### Serie.sampleAverage
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
设定的采样平均值。当sampleType 为 Peak 时, 用于和过滤数据的平均值做对比是取最大值还是最小值。默认为0时会实时计算所有数据的平均值。
### Serie.sampleDist
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the min pixel dist of sample.
### Serie.sampleType
2024-09-24 18:26:45 +08:00
[SampleType ](#sampletype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of sample.
Options:
- `Peak` : Take a peak. When the average value of the filter point is greater than or equal to 'sampleAverage', take the maximum value; If you do it the other way around, you get the minimum.
- `Average` : Take the average of the filter points.
- `Max` : Take the maximum value of the filter point.
- `Min` : Take the minimum value of the filter point.
- `Sum` : Take the sum of the filter points.
### Serie.serieName
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Series name used for displaying in tooltip and filtering with legend.
### Serie.serieType
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of serie.
### Serie.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show serie in chart.
### Serie.showAsPositiveNumber
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Show negative number as positive number.
### Serie.showDataDimension
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
数据项里的数据维数。
### Serie.showDataName
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
在Editor的inpsector上是否显示name参数
### Serie.singleAxisIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of single axis component that serie uses.
### Serie.smoothLimit
2024-09-24 18:26:45 +08:00
`bool` `false` `v3.4.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to restrict the curve. When true, the curve between two continuous data of the same value is restricted to not exceed the data point, and is flat to the data point.
### Serie.splitNumber
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
刻度分割段数。最大可设置36。
### Serie.stack
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
If stack the value. On the same category axis, the series with the same stack name would be put on top of each other.
### Serie.startAngle
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
起始角度。和时钟一样, 12点钟位置是0度, 顺时针到360度。
### Serie.state
2024-09-24 18:26:45 +08:00
[SerieState ](#seriestate ) `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The default state of a serie.
Options:
- `Normal` : Normal state.
- `Emphasis` : Emphasis state.
- `Blur` : Blur state.
- `Select` : Select state.
- `Auto` : Auto state.
### Serie.symbol
2024-09-24 18:26:45 +08:00
[SerieSymbol ](#seriesymbol )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the symbol of serie data item.
2024-09-21 13:31:16 +08:00
### Serie.top
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the top side of the container.
### Serie.vesselIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Index of vesel component that liquid chart uses.
### Serie.xAxisIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the index of XAxis.
### Serie.yAxisIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the index of YAxis.
## SerieData
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
A data item of serie.
### SerieData.data
`List<double>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
An arbitrary dimension data list of data item.
### SerieData.id
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the id of data.
### SerieData.ignore
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否忽略数据。当为 true 时,数据不进行绘制。
### SerieData.index
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the index of SerieData.
### SerieData.name
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the name of data item.
### SerieData.parentId
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the id of parent SerieData.
### SerieData.radius
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
自定义半径。可用在饼图中自定义某个数据项的半径。
### SerieData.selected
`bool`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the data item is selected.
### SerieData.state
2024-09-24 18:26:45 +08:00
[SerieState ](#seriestate ) `v3.2.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the state of serie data.
Options:
- `Normal` : Normal state.
- `Emphasis` : Emphasis state.
- `Blur` : Blur state.
- `Select` : Select state.
- `Auto` : Auto state.
## SerieDataLink
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
> Since `v3.10.0`
the link of serie data. Used for sankey chart. Sankey chart only supports directed acyclic graph. make sure the data link is directed acyclic graph.
### SerieDataLink.source
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the source node name.
### SerieDataLink.target
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the target node name.
### SerieDataLink.value
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the value of link. decide the width of link.
## SerieSymbol
class in XCharts.Runtime / Inherits from: [SymbolStyle ](#symbolstyle ), [ISerieDataComponent ](#iseriedatacomponent )
系列数据项的标记的图形
### SerieSymbol.dataIndex
2024-09-24 18:26:45 +08:00
`int` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whitch data index is when the sizeType assined as FromData.
### SerieSymbol.dataScale
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the scale of data when sizeType assined as FromData.
### SerieSymbol.forceShowLast
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
whether to show the last symbol.
### SerieSymbol.interval
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the interval of show symbol.
### SerieSymbol.maxSize
2024-09-24 18:26:45 +08:00
`float` `0f` `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Maximum symbol size.
### SerieSymbol.minSize
2024-09-24 18:26:45 +08:00
`float` `0f` `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Minimum symbol size.
### SerieSymbol.repeat
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图形是否重复。
### SerieSymbol.sizeFunction
`SymbolSizeFunction`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the function of size when sizeType assined as Function.
### SerieSymbol.sizeType
2024-09-24 18:26:45 +08:00
[SymbolSizeType ](#symbolsizetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of symbol size.
Options:
- `Custom` : Specify constant for symbol size.
- `FromData` : Specify the dataIndex and dataScale to calculate symbol size.
- `Function` : Specify function for symbol size.
### SerieSymbol.startIndex
`int`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the index start to show symbol.
## SerieTheme
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
### SerieTheme.candlestickBorderColor
2024-09-24 18:26:45 +08:00
`Color32` `Color32(235, 84, 84, 255)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
K线图阳线( 跌) 边框色
### SerieTheme.candlestickBorderColor0
2024-09-24 18:26:45 +08:00
`Color32` `Color32(71, 178, 98, 255)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
K线图阴线( 跌) 边框色
### SerieTheme.candlestickBorderWidth
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
K线图边框宽度
### SerieTheme.candlestickColor
2024-09-24 18:26:45 +08:00
`Color32` `Color32(235, 84, 84, 255)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
K线图阳线( 涨) 填充色
### SerieTheme.candlestickColor0
2024-09-24 18:26:45 +08:00
`Color32` `Color32(71, 178, 98, 255)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
K线图阴线( 跌) 填充色
### SerieTheme.lineSymbolSize
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the symbol size of line serie.
### SerieTheme.lineWidth
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of text.
### SerieTheme.scatterSymbolSize
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the symbol size of scatter serie.
## Settings
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
Global parameter setting component. The default value can be used in general, and can be adjusted when necessary.
### Settings.axisMaxSplitNumber
2024-09-24 18:26:45 +08:00
`float` `50` `v3.1.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the max splitnumber of axis.
### Settings.basePainterMaterial
`Material`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Base Pointer 材质球, 设置后会影响Axis等。
### Settings.cicleSmoothness
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the smoothess of cricle.
### Settings.legendIconCornerRadius
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The radius of rounded corner. Its unit is px. Use array to respectively specify the 4 corner radiuses((clockwise upper left, upper right, bottom right and bottom left)).
### Settings.legendIconLineWidth
2024-09-24 18:26:45 +08:00
`float` `2`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of line serie legend.
### Settings.lineSegmentDistance
2024-09-24 18:26:45 +08:00
`float` `3f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The partition distance of a line segment. A line in a normal line chart is made up of many segments, the number of which is determined by the change in value. The smaller the number of segments, the higher the number of vertices. When the area with gradient is filled, the larger the value, the worse the transition effect.
### Settings.lineSmoothness
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Smoothness of curve. The smaller the value, the smoother the curve, but the number of vertices will increase.
### Settings.lineSmoothStyle
2024-09-24 18:26:45 +08:00
`float` `2.5f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Curve smoothing factor. By adjusting the smoothing coefficient, the curvature of the curve can be changed, and different curves with slightly different appearance can be obtained.
### Settings.maxPainter
2024-09-24 18:26:45 +08:00
`int` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
max painter.
### Settings.reversePainter
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Painter是否逆序。逆序时index大的serie最先绘制。
### Settings.seriePainterMaterial
`Material`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Serie Pointer 材质球, 设置后会影响所有Serie。
### Settings.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-21 13:31:16 +08:00
### Settings.topPainterMaterial
`Material`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Top Pointer 材质球。
### Settings.upperPainterMaterial
`Material`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Upper Pointer 材质球。
## SimplifiedBar
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer ), [ISimplifiedSerie ](#isimplifiedserie )
## SimplifiedCandlestick
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer ), [ISimplifiedSerie ](#isimplifiedserie )
## SimplifiedLine
class in XCharts.Runtime / Inherits from: [Serie ](#serie ), [INeedSerieContainer ](#ineedseriecontainer ), [ISimplifiedSerie ](#isimplifiedserie )
## SingleAxis
class in XCharts.Runtime / Inherits from: [Axis ](#axis ), [IUpdateRuntimeData ](#iupdateruntimedata )
Single axis.
### SingleAxis.bottom
2024-09-24 18:26:45 +08:00
`float` `0.2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the bottom side of the container.
### SingleAxis.height
2024-09-24 18:26:45 +08:00
`float` `50`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
height of axis.
### SingleAxis.left
2024-09-24 18:26:45 +08:00
`float` `0.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the left side of the container.
### SingleAxis.orient
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Orientation of the axis. By default, it's 'Horizontal'. You can set it to be 'Vertical' to make a vertical axis.
Options:
- `Horizonal` : 水平
- `Vertical` : 垂直
### SingleAxis.right
2024-09-24 18:26:45 +08:00
`float` `0.1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the right side of the container.
### SingleAxis.top
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Distance between component and the top side of the container.
### SingleAxis.width
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
width of axis.
## SingleAxisCoord
class in XCharts.Runtime / Inherits from: [CoordSystem ](#coordsystem )
## StageColor
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
### StageColor.color
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
颜色。
### StageColor.percent
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
结束位置百分比。
## StateStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ) / Subclasses: [BlurStyle ](#blurstyle ), [EmphasisStyle ](#emphasisstyle ), [SelectStyle ](#selectstyle )
> Since `v3.2.0`
the state style of serie.
### StateStyle.areaStyle
2024-09-24 18:26:45 +08:00
[AreaStyle ](#areastyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
区域样式。
2024-09-21 13:31:16 +08:00
### StateStyle.itemStyle
2024-09-24 18:26:45 +08:00
[ItemStyle ](#itemstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
图形样式。
2024-09-21 13:31:16 +08:00
### StateStyle.label
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
图形文本标签。
2024-09-21 13:31:16 +08:00
### StateStyle.labelLine
2024-09-24 18:26:45 +08:00
[LabelLine ](#labelline )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
图形文本引导线样式。
2024-09-21 13:31:16 +08:00
### StateStyle.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
折线样式。
2024-09-21 13:31:16 +08:00
### StateStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否启用高亮样式。
### StateStyle.symbol
2024-09-24 18:26:45 +08:00
[SerieSymbol ](#seriesymbol )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
标记样式。
2024-09-21 13:31:16 +08:00
## SubTitleTheme
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
## SymbolStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent ) / Subclasses: [SerieSymbol ](#seriesymbol )
系列数据项的标记的图形
2025-01-01 20:15:29 +08:00
### SymbolStyle.borderWidth
`float` `0f` `v3.13.0`
the border width of symbol.
2024-09-21 13:31:16 +08:00
### SymbolStyle.color
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图形的颜色。
2025-01-01 20:15:29 +08:00
### SymbolStyle.emptyColor
`Color32` `v3.13.0`
the color of empty symbol.
2024-09-21 13:31:16 +08:00
### SymbolStyle.gap
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the gap of symbol and line segment.
### SymbolStyle.height
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图形的高。
### SymbolStyle.image
`Sprite`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
自定义的标记图形。
### SymbolStyle.imageType
`Image.Type`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the fill type of image.
### SymbolStyle.offset
2024-09-24 18:26:45 +08:00
`Vector2` `Vector2.zero`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图形的偏移。
### SymbolStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the symbol is showed.
### SymbolStyle.size
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the size of symbol.
2025-01-01 20:15:29 +08:00
### SymbolStyle.size2
`float` `0f` `v3.13.0`
the size of symbol.
2024-09-21 13:31:16 +08:00
### SymbolStyle.type
2024-09-24 18:26:45 +08:00
[SymbolType ](#symboltype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of symbol.
Options:
- `None` : 不显示标记。
- `Custom` : 自定义标记。
- `Circle` : 圆形。
- `EmptyCircle` : 空心圆。
- `Rect` : 正方形。可通过设置`itemStyle` 的`cornerRadius` 变成圆角矩形。
- `EmptyRect` : 空心正方形。
- `Triangle` : 三角形。
- `EmptyTriangle` : 空心三角形。
- `Diamond` : 菱形。
- `EmptyDiamond` : 空心菱形。
- `Arrow` : 箭头。
- `EmptyArrow` : 空心箭头。
- `Plus` : 加号。
- `Minus` : 减号。
### SymbolStyle.width
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
图形的宽。
## TextLimit
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
Text character limitation and adaptation component. When the length of the text exceeds the set length, it is cropped and suffixes are appended to the end.Only valid in the category axis.
### TextLimit.enable
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to enable text limit.
### TextLimit.gap
2024-09-24 18:26:45 +08:00
`float` `1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
White pixel distance at both ends.
### TextLimit.maxWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Set the maximum width. A default of 0 indicates automatic fetch; otherwise, custom.
### TextLimit.suffix
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Suffixes when the length exceeds.
## TextPadding
class in XCharts.Runtime / Inherits from: [Padding ](#padding )
Settings related to text.
## TextStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
Settings related to text.
### TextStyle.alignment
`TextAnchor`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
对齐方式。
### TextStyle.autoAlign
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
文本是否让系统自动选对齐方式。为false时才会用alignment。
### TextStyle.autoColor
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否开启自动颜色。当开启时,会自动设置颜色。
### TextStyle.autoWrap
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
是否自动换行。
### TextStyle.color
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of text.
### TextStyle.font
`Font`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of text. When `null` , the theme's font is used by default.
### TextStyle.fontSize
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
font size.
### TextStyle.fontStyle
`FontStyle`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
font style.
### TextStyle.lineSpacing
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
text line spacing.
### TextStyle.rotate
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Rotation of text.
### TextStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Settings related to text.
### TextStyle.tMPFont
`TMP_FontAsset`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of textmeshpro.
### TextStyle.tMPFontStyle
`FontStyles`
### TextStyle.tMPSpriteAsset
`TMP_SpriteAsset` `v3.1.0`
## Theme
class in XCharts.Runtime / Inherits from: [ScriptableObject ](https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject )
Theme.
### Theme.axis
2024-09-24 18:26:45 +08:00
[AxisTheme ](#axistheme )
2024-09-21 13:31:16 +08:00
### Theme.backgroundColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the background color of chart.
### Theme.colorPalette
`List<Color32>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The color list of palette. If no color is set in series, the colors would be adopted sequentially and circularly from this list as the colors of series.
### Theme.common
2024-09-24 18:26:45 +08:00
[ComponentTheme ](#componenttheme )
2024-09-21 13:31:16 +08:00
### Theme.contrastColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the contrast color of chart.
### Theme.dataZoom
2024-09-24 18:26:45 +08:00
[DataZoomTheme ](#datazoomtheme )
2024-09-21 13:31:16 +08:00
### Theme.font
`Font`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of chart text。
### Theme.legend
2024-09-24 18:26:45 +08:00
[LegendTheme ](#legendtheme )
2024-09-21 13:31:16 +08:00
### Theme.serie
2024-09-24 18:26:45 +08:00
[SerieTheme ](#serietheme )
2024-09-21 13:31:16 +08:00
### Theme.subTitle
2024-09-24 18:26:45 +08:00
[SubTitleTheme ](#subtitletheme )
2024-09-21 13:31:16 +08:00
### Theme.themeName
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the name of theme.
### Theme.themeType
2024-09-24 18:26:45 +08:00
[ThemeType ](#themetype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the theme of chart.
Options:
- `Default` : 默认主题。
- `Light` : 亮主题。
- `Dark` : 暗主题。
- `Custom` : 自定义主题。
### Theme.title
2024-09-24 18:26:45 +08:00
[TitleTheme ](#titletheme )
2024-09-21 13:31:16 +08:00
### Theme.tMPFont
`TMP_FontAsset`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the font of chart text。
### Theme.tooltip
2024-09-24 18:26:45 +08:00
[TooltipTheme ](#tooltiptheme )
2024-09-21 13:31:16 +08:00
### Theme.visualMap
2024-09-24 18:26:45 +08:00
[VisualMapTheme ](#visualmaptheme )
2024-09-21 13:31:16 +08:00
## ThemeStyle
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
Theme.
### ThemeStyle.customBackgroundColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the custom background color of chart.
### ThemeStyle.customColorPalette
`List<Color32>`
### ThemeStyle.customFont
`Font`
### ThemeStyle.enableCustomTheme
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to customize theme colors. When set to true, you can use 'sync color to custom' to synchronize the theme color to the custom color. It can also be set manually.
### ThemeStyle.sharedTheme
2024-09-24 18:26:45 +08:00
[Theme ](#theme )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the asset of theme.
2024-09-21 13:31:16 +08:00
### ThemeStyle.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-21 13:31:16 +08:00
### ThemeStyle.transparentBackground
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the background color is transparent. When true, the background color is not drawn.
## Title
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent ), [IPropertyChanged ](#ipropertychanged )
Title component, including main title and subtitle.
### Title.itemGap
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
[default:8] The gap between the main title and subtitle.
### Title.labelStyle
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of main title.
2024-09-21 13:31:16 +08:00
### Title.location
2024-09-24 18:26:45 +08:00
[Location ](#location )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The location of title component.
2024-09-21 13:31:16 +08:00
### Title.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
[default:true] Set this to false to prevent the title from showing.
### Title.subLabelStyle
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The text style of sub title.
2024-09-21 13:31:16 +08:00
### Title.subText
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Subtitle text, supporting for \n for newlines.
### Title.text
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The main title text, supporting \n for newlines.
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## TitleStyle
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [LabelStyle ](#labelstyle ), [ISerieDataComponent ](#iseriedatacomponent ), [ISerieComponent ](#iseriecomponent )
2022-03-24 21:48:53 +08:00
the title of serie.
2022-10-11 07:00:35 +08:00
## TitleTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
2022-03-24 21:48:53 +08:00
2022-10-11 07:00:35 +08:00
## Tooltip
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
2022-03-24 21:48:53 +08:00
Tooltip component.
2024-09-21 13:31:16 +08:00
### Tooltip.alwayShowContent
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to trigger after always display.
### Tooltip.backgroundColor
`Color`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The background color of tooltip.
### Tooltip.backgroundImage
`Sprite`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The background image of tooltip.
### Tooltip.backgroundType
`Image.Type`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The background type of tooltip.
### Tooltip.borderColor
2024-09-24 18:26:45 +08:00
`Color32` `Color32(230, 230, 230, 255)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of tooltip border.
### Tooltip.borderWidth
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of tooltip border.
2025-03-16 10:45:38 +08:00
### Tooltip.columnGapWidths
`List<float>` `v3.14.0`
the column gap width of content. When there is only one column, it only represents the gap width of the second column.
2024-09-21 13:31:16 +08:00
### Tooltip.contentLabelStyles
`List<LabelStyle>`
2024-09-22 09:54:11 +08:00
2025-03-16 10:45:38 +08:00
the column text style list of content. The first represents the text style of the first column, and so on.
2024-09-21 13:31:16 +08:00
### Tooltip.fixedHeight
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Fixed height. Higher priority than minHeight.
### Tooltip.fixedWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Fixed width. Higher priority than minWidth.
### Tooltip.fixedX
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the x positionn of fixedX.
### Tooltip.fixedY
2024-09-24 18:26:45 +08:00
`float` `0.7f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the y position of fixedY.
### Tooltip.ignoreDataDefaultContent
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The default display character information for ignored data.
### Tooltip.ignoreDataShow
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show ignored data on tooltip.
### Tooltip.itemFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-10-21 08:44:16 +08:00
a string template formatter for a single Serie or data item content. Support for wrapping lines with \n. Template variables are \{.\}, \{a\}, \{b\}, \{c\}, \{d\}.<br/> \{.\} is the dot of the corresponding color of a Serie that is currently indicated or whose index is 0.<br/> \{a\} is the series name of the serie that is currently indicated or whose index is 0.<br/> \{b\} is the name of the data item serieData that is currently indicated or whose index is 0, or a category value (such as the X-axis of a line chart).<br/> \{c\} is the value of a Y-dimension (dimesion is 1) from a Serie that is currently indicated or whose index is 0.<br/> \{d\} is the percentage value of Y-dimensions (dimesion is 1) from serie that is currently indicated or whose index is 0, with no % sign.<br/> \{e\} is the name of the data item serieData that is currently indicated or whose index is 0.<br/> \{f\} is sum of data.<br/> \{y\} is category value of y axis.<br/> \{.1\} represents a dot from serie corresponding color that specifies index as 1.<br/> 1 in \{a1\}, \{b1\}, \{c1\} represents a serie that specifies an index of 1.<br/> \{c1:2\} represents the third data from serie's current indication data item indexed to 1 (a data item has multiple data, index 2 represents the third data).<br/> \{c1:2-2\} represents the third data item from serie's third data item indexed to 1 (i.e., which data item must be specified to specify).<br/> \{d1:2: F2\} indicates that a formatted string with a value specified separately is F2 (numericFormatter is used when numericFormatter is not specified).<br/> \{d:0.##\} indicates that a formatted string with a value specified separately is 0.## (used for percentage, reserved 2 valid digits while avoiding the situation similar to "100.00%" when using f2 ).<br/> Example: "\{a\}, \{c\}", "\{a1\}, \{c1: f1\}", "\{a1\}, \{c1:0: f1\}", "\{a1\} : \{c1:1-1: f1\}"<br/>
2024-09-21 13:31:16 +08:00
### Tooltip.itemHeight
2024-09-24 18:26:45 +08:00
`float` `25f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
height of content text.
### Tooltip.lineStyle
2024-09-24 18:26:45 +08:00
[LineStyle ](#linestyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the line style of indicator line.
2024-09-21 13:31:16 +08:00
### Tooltip.marker
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the marker of serie.
### Tooltip.minHeight
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Minimum height. If fixedHeight has a value, take priority over fixedHeight.
### Tooltip.minWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Minimum width. If fixedWidth has a value, get fixedWidth first.
### Tooltip.numericFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Standard number and date format string. Used to format a Double value or a DateTime date as a string. numericFormatter is used as an argument to either `Double.ToString ()` or `DateTime.ToString()` . <br /> The number format uses the Axx format: A is a single-character format specifier that supports C currency, D decimal, E exponent, F fixed-point number, G regular, N digit, P percentage, R round trip, and X hexadecimal. xx is precision specification, from 0-99. E.g. F1, E2<br /> Date format: Starts with `date` , which is used to format DateTime. Common date formats are: yyyy year, MM month, dd day, HH hour, mm minute, ss second, fff millisecond. For example: date:yyyy-MM-dd HH:mm:ss<br /> Time format: Starts with `time` , which is used to format TimeSpan. Common time formats are: d day, HH hour, mm minute, ss second, fffffff fractional part. Only the version of Unity2018 or later can support formatting, and the characters inside should be escaped. For example: time:HH\:mm\:ss<br /> number format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> date format reference: https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings<br/> Note: The date and time formats are only supported by 'v3.12.0' or later.<br/>
### Tooltip.offset
2024-09-24 18:26:45 +08:00
`Vector2` `Vector2(18f, -25f)`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The position offset of tooltip relative to the mouse position.
### Tooltip.paddingLeftRight
2024-09-24 18:26:45 +08:00
`int` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the text padding of left and right. defaut:5.
### Tooltip.paddingTopBottom
2024-09-24 18:26:45 +08:00
`int` `10`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the text padding of top and bottom. defaut:5.
### Tooltip.position
2024-09-24 18:26:45 +08:00
[Tooltip.Position ](#tooltipposition ) `v3.3.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Type of position.
Options:
- `Auto` : Auto. The mobile platform is displayed at the top, and the non-mobile platform follows the mouse position.
- `Custom` : Custom. Fully customize display position (x,y).
- `FixedX` : Just fix the coordinate X. Y follows the mouse position.
- `FixedY` :
### Tooltip.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the tooltip component.
### Tooltip.showContent
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to show the tooltip floating layer, whose default value is true. It should be configurated to be false, if you only need tooltip to trigger the event or show the axisPointer without content.
### Tooltip.titleFormatter
`string`
2024-09-22 09:54:11 +08:00
2024-10-21 08:44:16 +08:00
String template formatter for tooltip title content. \n line wrapping is supported. The placeholder \{i\} can be set separately to indicate that title is ignored and not displayed. Template variables are \{.\}, \{a\}, \{b\}, \{c\}, \{d\}, \{e\}, \{f\}, and \{g\}. <br /> \{.\} is the dot of the corresponding color of serie currently indicated or index 0. <br /> \{a\} is the series name name of serie currently indicated or index 0. <br /> \{b\} is the name of the serie data item serieData currently indicated or index 0, or the category value (such as the X-axis of a line chart). <br /> \{c\} is the value of the serie y-dimension (dimesion is 1) currently indicated or index is 0. <br /> \{d\} is the serie y-dimensional (dimesion 1) percentage value of the currently indicated or index 0, note without the % sign. <br /> \{e\} is the name of the serie data item serieData currently indicated or whose index is 0. <br /> \{h\} is the hexadecimal color value of serieData for the serie data item currently indicated or index 0. <br /> \{f\} is the sum of data. <br /> \{g\} indicates the total number of data. <br /> \{y\} is category value of y axis. <br /> \{.1\} represents a dot of the corresponding color with serie specified as index 1. <br /> The 1 in \{a1\}, \{b1\}, \{c1\} represents serie where index is specified as 1. <br /> \{c1:2\} represents the third data of the current indicator data item in serie with index 1 (one data item has multiple data, index 2 represents the third data). <br /> \{c1:2-2\} represents the third data of serie third data item with index 1 (that is, the number of data items must be specified when specifying the number of data items). <br /> \{d1:2:f2\} indicates that a format string with a single value is f2 (numericFormatter is used if no value is specified). <br /> \{d:0.##\} indicates that the format string with a value specified alone is 0.## # (for percentages, preserving a 2-digit significant number while avoiding the "100.00%" situation with f2). <br /> example: "\{a\}, \{c\}", "\{a1\}, \{c1: f1\}", "\{a1\}, \{c1:0: f1\}", "\{a1\}, \{c1:1-1: f1\}"
2024-09-21 13:31:16 +08:00
### Tooltip.titleHeight
2024-09-24 18:26:45 +08:00
`float` `25f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
height of title text.
### Tooltip.titleLabelStyle
2024-09-24 18:26:45 +08:00
[LabelStyle ](#labelstyle )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the textstyle of title.
2024-09-21 13:31:16 +08:00
### Tooltip.trigger
2024-09-24 18:26:45 +08:00
[Tooltip.Trigger ](#tooltiptrigger )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Type of triggering.
Options:
- `Item` : Triggered by data item, which is mainly used for charts that don't have a category axis like scatter charts or pie charts.
- `Axis` : Triggered by axes, which is mainly used for charts that have category axes, like bar charts or line charts.
- `None` : Trigger nothing.
- `Auto` : Auto select trigger according to serie type.
### Tooltip.triggerOn
2024-09-24 18:26:45 +08:00
[Tooltip.TriggerOn ](#tooltiptriggeron ) `v3.11.0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Condition of trigger tooltip.
Options:
- `MouseMove` : Trigger when mouse move.
- `Click` : Trigger when mouse click.
### Tooltip.type
2024-09-24 18:26:45 +08:00
[Tooltip.Type ](#tooltiptype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Indicator type.
Options:
- `Line` : line indicator.
- `Shadow` : shadow crosshair indicator.
- `None` : no indicator displayed.
- `Cross` : crosshair indicator, which is actually the shortcut of enable two axisPointers of two orthometric axes.
- `Auto` : Auto select indicator according to serie type.
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## TooltipTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
### TooltipTheme.areaColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of line.
### TooltipTheme.labelBackgroundColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the background color of tooltip cross indicator's axis label.
### TooltipTheme.labelTextColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the text color of tooltip cross indicator's axis label.
### TooltipTheme.lineColor
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of line.
### TooltipTheme.lineType
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of line.
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
Options:
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### TooltipTheme.lineWidth
2022-03-24 21:48:53 +08:00
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of line.
2023-05-28 22:42:49 +08:00
2023-03-20 22:00:02 +08:00
## UIComponentTheme
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
### UIComponentTheme.sharedTheme
2023-03-20 22:00:02 +08:00
2024-09-24 18:26:45 +08:00
[Theme ](#theme )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
the asset of theme.
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
### UIComponentTheme.show
2023-03-20 22:00:02 +08:00
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-21 13:31:16 +08:00
### UIComponentTheme.transparentBackground
2024-09-24 18:26:45 +08:00
`bool` `false`
2023-05-28 22:42:49 +08:00
2024-04-22 22:25:12 +08:00
## ViewControl
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
2024-04-22 22:25:12 +08:00
> Since `v3.11.0`
View control component in 3D coordinate system.
2024-09-21 13:31:16 +08:00
### ViewControl.alpha
2024-04-22 22:25:12 +08:00
2024-09-24 18:26:45 +08:00
`float` `90f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The angle of the view in the x-z plane.
2024-04-22 22:25:12 +08:00
2024-09-21 13:31:16 +08:00
### ViewControl.beta
2024-04-22 22:25:12 +08:00
2024-09-24 18:26:45 +08:00
`float` `55f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The angle of the view in the y-z plane.
2024-04-22 22:25:12 +08:00
2022-10-11 07:00:35 +08:00
## VisualMap
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [MainComponent ](#maincomponent )
2022-03-24 21:48:53 +08:00
VisualMap component. Mapping data to visual elements such as colors.
2024-09-21 13:31:16 +08:00
### VisualMap.autoMinMax
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Automatically set min, Max value 自动设置min, max的值
### VisualMap.borderWidth
2024-09-24 18:26:45 +08:00
`float` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Border line width.
### VisualMap.calculable
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the handle used for dragging is displayed (the handle can be dragged to adjust the selected range).
### VisualMap.dimension
2024-09-24 18:26:45 +08:00
`int` `-1`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specifies "which dimension" of the data to map to the visual element. "Data" is series.data.
### VisualMap.hoverLink
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
When the hoverLink function is turned on, when the mouse hovers over the visualMap component, the corresponding value of the mouse position is highlighted in the corresponding graphic element in the diagram.
### VisualMap.inRange
`List<VisualMapRange>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
分段式每一段的相关配置。
### VisualMap.itemGap
2024-09-24 18:26:45 +08:00
`float` `10f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
每个图元之间的间隔距离。
### VisualMap.itemHeight
2024-09-24 18:26:45 +08:00
`float` `140f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The height of the figure, that is, the height of the color bar.
### VisualMap.itemWidth
2024-09-24 18:26:45 +08:00
`float` `20f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The width of the figure, that is, the width of the color bar.
### VisualMap.location
2024-09-24 18:26:45 +08:00
[Location ](#location )
2024-09-22 09:54:11 +08:00
2024-09-24 18:26:45 +08:00
The location of component.
2024-09-21 13:31:16 +08:00
### VisualMap.max
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
范围最大值
### VisualMap.min
2024-09-24 18:26:45 +08:00
`double` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
范围最小值
### VisualMap.orient
2024-09-24 18:26:45 +08:00
[Orient ](#orient )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specify whether the layout of component is horizontal or vertical.
Options:
- `Horizonal` : 水平
- `Vertical` : 垂直
### VisualMap.outOfRange
`List<VisualMapRange>`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Defines a visual color outside of the selected range.
### VisualMap.range
`double[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Specifies the position of the numeric value corresponding to the handle. Range should be within the range of [min,max].
### VisualMap.realtime
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to update in real time while dragging.
### VisualMap.selectedMode
2024-09-24 18:26:45 +08:00
[VisualMap.SelectedMode ](#visualmapselectedmode )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the selected mode for Piecewise visualMap.
Options:
- `Multiple` : 多选。
- `Single` : 单选。
### VisualMap.serieIndex
2024-09-24 18:26:45 +08:00
`int` `0`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the serie index of visualMap.
### VisualMap.show
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to enable components.
### VisualMap.showUI
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether to display components. If set to false, it will not show up, but the data mapping function still exists.
### VisualMap.splitNumber
2024-09-24 18:26:45 +08:00
`int` `5`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
For continuous data, it is automatically evenly divided into several segments and automatically matches the size of inRange color list when the default is 0.
### VisualMap.text
`string[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Text on both ends.
### VisualMap.textGap
`float[]`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
The distance between the two text bodies.
### VisualMap.type
2024-09-24 18:26:45 +08:00
[VisualMap.Type ](#visualmaptype )
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the type of visualmap component.
Options:
- `Continuous` : 连续型。
- `Piecewise` : 分段型。
### VisualMap.workOnArea
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the visualmap is work on areaStyle of linechart.
### VisualMap.workOnLine
2024-09-24 18:26:45 +08:00
`bool` `true`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Whether the visualmap is work on linestyle of linechart.
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## VisualMapRange
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ChildComponent ](#childcomponent )
### VisualMapRange.color
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
颜色
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### VisualMapRange.label
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`string`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
文字描述
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### VisualMapRange.max
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
范围最大值
### VisualMapRange.min
`double`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
范围最小值
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## VisualMapTheme
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ComponentTheme ](#componenttheme )
### VisualMapTheme.backgroundColor
2023-05-28 22:42:49 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the background color of visualmap.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### VisualMapTheme.borderColor
2023-06-04 21:52:37 +08:00
2024-09-21 13:31:16 +08:00
`Color32`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the color of dataZoom border.
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
### VisualMapTheme.borderWidth
`float`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
the width of border.
### VisualMapTheme.triangeLen
2024-09-24 18:26:45 +08:00
`float` `20f`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
可视化组件的调节三角形边长。
2023-05-28 22:42:49 +08:00
2024-05-09 13:13:51 +08:00
## Wrapper<T>
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime
2024-05-09 13:13:51 +08:00
2022-10-11 07:00:35 +08:00
## XAxis
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2022-03-24 21:48:53 +08:00
The x axis in cartesian(rectangular) coordinate.
2024-04-22 22:25:12 +08:00
## XAxis3D
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2024-04-22 22:25:12 +08:00
> Since `v3.11.0`
The x axis in cartesian(rectangular) coordinate.
2022-10-11 07:00:35 +08:00
## XCResourcesImporter
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime
2022-03-24 21:48:53 +08:00
2022-10-11 07:00:35 +08:00
## XCSettings
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [ScriptableObject ](https://docs.unity3d.com/ScriptReference/30_search.html?q=ScriptableObject )
### XCSettings.axisLineType
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-21 13:31:16 +08:00
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Options:
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
### XCSettings.axisLineWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.axisSplitLineType
2024-09-24 18:26:45 +08:00
[LineStyle.Type ](#linestyletype )
2024-09-21 13:31:16 +08:00
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
Options:
- `Solid` : 实线
- `Dashed` : 虚线
- `Dotted` : 点线
- `DashDot` : 点划线
- `DashDotDot` : 双点划线
- `None` : 双点划线
### XCSettings.axisSplitLineWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.axisTickLength
2024-09-24 18:26:45 +08:00
`float` `5f`
2024-09-21 13:31:16 +08:00
### XCSettings.axisTickWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.cicleSmoothness
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-21 13:31:16 +08:00
### XCSettings.customThemes
`List<Theme>`
### XCSettings.dataZoomBorderWidth
2024-09-24 18:26:45 +08:00
`float` `0.5f`
2024-09-21 13:31:16 +08:00
### XCSettings.dataZoomDataLineWidth
2024-09-24 18:26:45 +08:00
`float` `0.5f`
2024-09-21 13:31:16 +08:00
### XCSettings.editorShowAllListData
2024-09-24 18:26:45 +08:00
`bool` `false`
2024-09-21 13:31:16 +08:00
### XCSettings.font
`Font`
### XCSettings.fontSizeLv1
2024-09-24 18:26:45 +08:00
`int` `28`
2024-09-22 09:54:11 +08:00
2024-09-21 13:31:16 +08:00
一级字体大小。
### XCSettings.fontSizeLv2
2024-09-24 18:26:45 +08:00
`int` `24`
2024-09-21 13:31:16 +08:00
### XCSettings.fontSizeLv3
2024-09-24 18:26:45 +08:00
`int` `20`
2024-09-21 13:31:16 +08:00
### XCSettings.fontSizeLv4
2024-09-24 18:26:45 +08:00
`int` `18`
2024-09-21 13:31:16 +08:00
### XCSettings.gaugeAxisLineWidth
2024-09-24 18:26:45 +08:00
`float` `15f`
2024-09-21 13:31:16 +08:00
### XCSettings.gaugeAxisSplitLineLength
2024-09-24 18:26:45 +08:00
`float` `15f`
2024-09-21 13:31:16 +08:00
### XCSettings.gaugeAxisSplitLineWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.gaugeAxisTickLength
2024-09-24 18:26:45 +08:00
`float` `5f`
2024-09-21 13:31:16 +08:00
### XCSettings.gaugeAxisTickWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.lang
2024-09-24 18:26:45 +08:00
[Lang ](#lang )
2024-09-21 13:31:16 +08:00
### XCSettings.lineSegmentDistance
2024-09-24 18:26:45 +08:00
`float` `3f`
2024-09-21 13:31:16 +08:00
### XCSettings.lineSmoothness
2024-09-24 18:26:45 +08:00
`float` `2f`
2024-09-21 13:31:16 +08:00
### XCSettings.lineSmoothStyle
2024-09-24 18:26:45 +08:00
`float` `3f`
2024-09-21 13:31:16 +08:00
### XCSettings.maxPainter
2024-09-24 18:26:45 +08:00
`int` `10`
2024-09-21 13:31:16 +08:00
### XCSettings.serieCandlestickBorderWidth
2024-09-24 18:26:45 +08:00
`float` `1f`
2024-09-21 13:31:16 +08:00
### XCSettings.serieLineSymbolSize
2024-09-24 18:26:45 +08:00
`float` `5f`
2024-09-21 13:31:16 +08:00
### XCSettings.serieLineWidth
2024-09-24 18:26:45 +08:00
`float` `1.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.serieScatterSymbolSize
2024-09-24 18:26:45 +08:00
`float` `20f`
2024-09-21 13:31:16 +08:00
### XCSettings.serieSelectedRate
2024-09-24 18:26:45 +08:00
`float` `1.3f`
2024-09-21 13:31:16 +08:00
### XCSettings.tMPFont
`TMP_FontAsset`
### XCSettings.tootipLineWidth
2024-09-24 18:26:45 +08:00
`float` `0.8f`
2024-09-21 13:31:16 +08:00
### XCSettings.visualMapBorderWidth
2024-09-24 18:26:45 +08:00
`float` `0f`
2024-09-21 13:31:16 +08:00
### XCSettings.visualMapTriangeLen
2024-09-24 18:26:45 +08:00
`float` `20f`
2023-05-28 22:42:49 +08:00
2022-10-11 07:00:35 +08:00
## YAxis
2022-03-24 21:48:53 +08:00
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2022-03-24 21:48:53 +08:00
The x axis in cartesian(rectangular) coordinate.
2024-04-22 22:25:12 +08:00
## YAxis3D
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2024-04-22 22:25:12 +08:00
> Since `v3.11.0`
The x axis in cartesian(rectangular) coordinate.
## ZAxis3D
2024-09-21 13:31:16 +08:00
class in XCharts.Runtime / Inherits from: [Axis ](#axis )
2024-04-22 22:25:12 +08:00
> Since `v3.11.0`
The x axis in cartesian(rectangular) coordinate.