Configuration
Serie
- Bar
- BaseScatter
- Candlestick
- EffectScatter
- Heatmap
- Line
- Parallel
- Pie
- Radar
- Ring
- Scatter
- Serie
- SimplifiedBar
- SimplifiedCandlestick
- SimplifiedLine
Theme
- AngleAxisTheme
- AxisTheme
- BaseAxisTheme
- ComponentTheme
- DataZoomTheme
- LegendTheme
- PolarAxisTheme
- RadarAxisTheme
- RadiusAxisTheme
- SerieTheme
- SubTitleTheme
- Theme
- ThemeSnapshotJson
- ThemeStyle
- TitleTheme
- TooltipTheme
- UIComponentTheme
- VisualMapTheme
MainComponent
- AngleAxis
- Axis
- Background
- CalendarCoord
- Comment
- CoordSystem
- DataZoom
- GridCoord
- GridCoord3D
- GridLayout
- Legend
- MarkArea
- MarkLine
- ParallelAxis
- ParallelCoord
- PolarCoord
- RadarCoord
- RadiusAxis
- Settings
- SingleAxis
- SingleAxisCoord
- Title
- Tooltip
- VisualMap
- XAxis
- XAxis3D
- YAxis
- YAxis3D
- ZAxis3D
ChildComponent
- AngleAxisTheme
- AnimationStyle
- AreaStyle
- ArrowStyle
- AxisAnimation
- AxisLabel
- AxisLine
- AxisMinorSplitLine
- AxisMinorTick
- AxisName
- AxisSplitArea
- AxisSplitLine
- AxisTheme
- AxisTick
- BaseAxisTheme
- BaseLine
- BlurStyle
- BorderStyle
- CommentItem
- CommentMarkStyle
- ComponentTheme
- DataZoomTheme
- EmphasisStyle
- EndLabelStyle
- IconStyle
- ImageStyle
- ItemStyle
- LabelLine
- LabelStyle
- LegendTheme
- Level
- LevelStyle
- LineArrow
- LineStyle
- Location
- MarkAreaData
- MarkLineData
- MarqueeStyle
- MLValue
- Padding
- PolarAxisTheme
- RadarAxisTheme
- RadiusAxisTheme
- SelectStyle
- SerieData
- SerieDataLink
- SerieSymbol
- SerieTheme
- StageColor
- StateStyle
- SubTitleTheme
- SymbolStyle
- TextLimit
- TextPadding
- TextStyle
- ThemeStyle
- TitleStyle
- TitleTheme
- TooltipTheme
- UIComponentTheme
- ViewControl
- VisualMapRange
- VisualMapTheme
ISerieComponent
ISerieDataComponent
- AreaStyle
- BlurStyle
- EmphasisStyle
- ImageStyle
- ItemStyle
- LabelLine
- LabelStyle
- LineStyle
- SelectStyle
- SerieSymbol
- TitleStyle
Other
- AnimationAddition
- AnimationChange
- AnimationExchange
- AnimationFadeIn
- AnimationFadeOut
- AnimationHiding
- AnimationInfo
- AnimationInteraction
- BaseSerie
- ChartJson
- ChartSettingsJson
- ChartText
- ChildComponent
- ComponentJson
- DebugInfo
- Indicator
- INeedSerieContainer
- IPropertyChanged
- ISerieComponent
- ISerieContainer
- ISerieDataComponent
- ISimplifiedSerie
- IUpdateRuntimeData
- Lang
- LangCandlestick
- LangTime
- MainComponent
- ResourceRef
- SerieJson
- UIComponentJson
- Wrapper<T>
- XCResourcesImporter
- XCSettings
AngleAxis
class in XCharts.Runtime / Inherits from: Axis
Angle axis of Polar Coordinate.
AngleAxis.startAngle
float 0
Starting angle of axis. 0 degrees by default, standing for right position of center.
AngleAxisTheme
class in XCharts.Runtime / Inherits from: BaseAxisTheme
AnimationAddition
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Data addition animation.
AnimationChange
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Data change animation.
AnimationExchange
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.15.0
Data exchange animation. Generally used for animation of data sorting.
AnimationFadeIn
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Fade in animation.
AnimationFadeOut
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Fade out animation.
AnimationHiding
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Data hiding animation.
AnimationInfo
class in XCharts.Runtime / Subclasses: AnimationFadeIn, AnimationFadeOut, AnimationChange, AnimationAddition, AnimationHiding, AnimationInteraction, AnimationExchange
Since
v3.8.0
the animation info.
AnimationInfo.delay
float 0 v3.8.0
the delay time before animation start.
AnimationInfo.duration
float 1000 v3.8.0
the duration of animation. Default is used to calculate the speed of animation. It can also be specified by speed.
AnimationInfo.enable
bool true v3.8.0
whether enable animation.
AnimationInfo.reverse
bool false v3.8.0
whether enable reverse animation.
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.
AnimationInteraction
class in XCharts.Runtime / Inherits from: AnimationInfo
Since
v3.8.0
Interactive animation of charts.
AnimationInteraction.offset
MLValue v3.8.0
the mlvalue of offset. Such as the offset of the pie chart when the sector is selected.
AnimationInteraction.radius
MLValue v3.8.0
the mlvalue of radius.
AnimationInteraction.width
MLValue v3.8.0
the mlvalue of width.
AnimationStyle
class in XCharts.Runtime / Inherits from: ChildComponent
the animation of serie. support animation type: fadeIn, fadeOut, change, addition, exchange.
AnimationStyle.addition
AnimationAddition v3.8.0
Add data animation configuration.
AnimationStyle.change
AnimationChange v3.8.0
Update data animation configuration.
AnimationStyle.easting
Options:
Linear:
AnimationStyle.enable
bool true
Whether to enable animation.
AnimationStyle.exchange
AnimationExchange v3.15.0
Exchange animation configuration. Valid in sort bar chart.
AnimationStyle.fadeIn
AnimationFadeIn v3.8.0
Fade in animation configuration.
AnimationStyle.fadeOut
AnimationFadeOut v3.8.0
Fade out animation configuration.
AnimationStyle.hiding
AnimationHiding v3.8.0
Data hiding animation configuration.
AnimationStyle.interaction
AnimationInteraction v3.8.0
Interaction animation configuration.
AnimationStyle.threshold
int 2000
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
AnimationStyle.type
The type of animation.
Options:
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.
AnimationStyle.unscaledTime
bool v3.4.0
Animation updates independently of Time.timeScale.
AreaStyle
class in XCharts.Runtime / Inherits from: ChildComponent, ISerieComponent, ISerieDataComponent
The style of area.
AreaStyle.color
Color32
the color of area,default use serie color.
AreaStyle.innerFill
bool v3.2.0
Whether to fill only polygonal areas. Currently, only convex polygons are supported.
AreaStyle.opacity
float 0.6f
Opacity of the component. Supports value from 0 to 1, and the component will not be drawn when set to 0.
AreaStyle.origin
the origin of area.
Options:
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.
AreaStyle.show
bool true
Set this to false to prevent the areafrom showing.
AreaStyle.toColor
Color32
Gradient color, start color to toColor.
AreaStyle.toTop
bool true v3.6.0
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.
ArrowStyle
class in XCharts.Runtime / Inherits from: ChildComponent
ArrowStyle.color
Color32 Color.clear
the color of arrow.
ArrowStyle.dent
float 3
The dent of arrow.
ArrowStyle.height
float 15
The height of arrow.
ArrowStyle.offset
float 0
The offset of arrow.
ArrowStyle.width
float 10
The widht of arrow.
Axis
class in XCharts.Runtime / Inherits from: MainComponent / Subclasses: AngleAxis, ParallelAxis, RadiusAxis, SingleAxis, XAxis, XAxis3D, YAxis, YAxis3D, ZAxis3D
The axis in rectangular coordinate.
Axis.animation
animation of axis.
Axis.axisLabel
axis label.
Axis.axisLine
axis Line.
Axis.axisName
axis name.
Axis.axisTick
axis tick.
Axis.boundaryGap
bool true
The boundary gap on both sides of a coordinate axis, which is valid only for category axis with type: 'Category'.
Axis.ceilRate
double 0
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
Axis.clockwise
bool true
Whether the positive position of axis is in clockwise. True for clockwise by default.
Axis.data
List<string>
Category data, available in type: 'Category' axis.
Axis.gridIndex
int
The index of the grid on which the axis are located, by default, is in the first grid.
Axis.icons
List<Sprite>
类目数据对应的图标。
Axis.indicatorLabel
LabelStyle v3.4.0
Style of axis tooltip indicator label.
Axis.insertDataToHead
bool
Whether to add new data at the head or at the end of the list.
Axis.interval
double 0
Compulsively set segmentation interval for axis.This is unavailable for category axis.
Axis.inverse
bool false
Whether the axis are reversed or not. Invalid in Category axis.
Axis.logBase
float 10
Base of logarithm, which is valid only for numeric axes with type: 'Log'.
Axis.logBaseE
bool false
On the log axis, if base e is the natural number, and is true, logBase fails.
Axis.mainAxis
bool false v3.15.0
Whether it is the main axis. When both X and Y axes are of the same type, the axis set to main axis will determine the orientation, such as horizontal bar chart and vertical bar chart.
Axis.max
double
The maximum value of axis.Valid when minMaxType is Custom
Axis.maxCache
int 0
The max number of axis data cache.
Axis.min
double
The minimun value of axis.Valid when minMaxType is Custom
Axis.minCategorySpacing
float 0 v3.11.0
The minimum spacing between categories.
Axis.minMaxType
the type of axis minmax.
Options:
Default: 0 - maximum.MinMax: minimum - maximum.Custom: Customize the minimum and maximum.MinMaxAuto: [since("v3.7.0")]minimum - maximum, automatically calculate the appropriate values.
Axis.minorSplitLine
AxisMinorSplitLine v3.2.0
axis minor split line.
Axis.minorTick
AxisMinorTick v3.2.0
axis minor tick.
Axis.offset
float
the offset of axis from the default position. Useful when the same position has multiple axes.
Axis.parallelIndex
int
The index of the parallel on which the axis are located, by default, is in the first parallel.
Axis.polarIndex
int
The index of the polar on which the axis are located, by default, is in the first polar.
Axis.position
the position of axis in grid.
Options:
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.
Axis.show
bool true
Whether to show axis.
Axis.splitArea
axis split area.
Axis.splitLine
axis split line.
Axis.splitNumber
int 0
Number of segments that the axis is split into.
Axis.type
the type of axis.
Options:
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.
AxisAnimation
class in XCharts.Runtime / Inherits from: ChildComponent
Since
v3.9.0
animation style of axis.
AxisAnimation.duration
float
the duration of animation (ms). When it is set to 0, the animation duration will be automatically calculated according to the serie.
AxisAnimation.show
bool true
whether to enable animation.
AxisAnimation.unscaledTime
bool
Animation updates independently of Time.timeScale.
AxisLabel
class in XCharts.Runtime / Inherits from: LabelStyle
Settings related to axis label.
AxisLabel.inside
bool false
Set this to true so the axis labels face the inside direction.
AxisLabel.interval
int 0
The display interval of the axis label.
AxisLabel.onZero
bool false
刻度标签显示在0刻度上。
AxisLabel.showAsPositiveNumber
bool false
Show negative number as positive number.
AxisLabel.showEndLabel
bool true
Whether to display the last label.
AxisLabel.showStartLabel
bool true
Whether to display the first label.
AxisLabel.showZeroLabel
bool true v3.15.0
Whether to display the zero label.
AxisLabel.textLimit
文本限制。
AxisLine
class in XCharts.Runtime / Inherits from: BaseLine
Settings related to axis line.
AxisLine.arrow
the arrow of line.
AxisLine.endExtendLength
float
Extend length of the axis line at the end.
AxisLine.onZero
bool
When mutiple axes exists, this option can be used to specify which axis can be "onZero" to.
AxisLine.showArrow
bool
Whether to show the arrow symbol of axis.
AxisLine.startExtendLength
float
Extend length of the axis line at the start.
AxisMinorSplitLine
class in XCharts.Runtime / Inherits from: BaseLine
Since
v3.2.0
Minor split line of axis in grid area.
AxisMinorSplitLine.autoColor
bool
auto color.
AxisMinorSplitLine.distance
float
The distance between the split line and axis line.
AxisMinorTick
class in XCharts.Runtime / Inherits from: BaseLine
Since
v3.2.0
Settings related to axis minor tick.
AxisMinorTick.autoColor
bool
AxisMinorTick.splitNumber
int 5
Number of segments that the axis is split into.
AxisName
class in XCharts.Runtime / Inherits from: ChildComponent
the name of axis.
AxisName.labelStyle
The text style of axis name.
AxisName.name
string
the name of axis.
AxisName.onZero
bool v3.1.0
Whether the axis name position are the same with 0 position of YAxis.
AxisName.show
bool
Whether to show axis name.
AxisSplitArea
class in XCharts.Runtime / Inherits from: ChildComponent
Split area of axis in grid area, not shown by default.
AxisSplitArea.color
List<Color32>
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.
AxisSplitArea.show
bool
Set this to true to show the splitArea.
AxisSplitLine
class in XCharts.Runtime / Inherits from: BaseLine
Split line of axis in grid area.
AxisSplitLine.autoColor
bool
auto color.
AxisSplitLine.distance
float
The distance between the split line and axis line.
AxisSplitLine.interval
int
Interval of Axis splitLine.
AxisSplitLine.showEndLine
bool true v3.3.0
Whether to show the last split line.
AxisSplitLine.showStartLine
bool true v3.3.0
Whether to show the first split line.
AxisSplitLine.showZLine
bool true v3.11.0
Whether to show the Z axis part of the split line. Generally used for 3D coordinate systems.
AxisTheme
class in XCharts.Runtime / Inherits from: BaseAxisTheme
AxisTick
class in XCharts.Runtime / Inherits from: BaseLine
Settings related to axis tick.
AxisTick.alignWithLabel
bool
Align axis tick with label, which is available only when boundaryGap is set to be true in category axis.
AxisTick.autoColor
bool
AxisTick.distance
float
The distance between the tick line and axis line.
AxisTick.inside
bool
Set this to true so the axis labels face the inside direction.
AxisTick.showEndTick
bool
Whether to display the last tick.
AxisTick.showStartTick
bool
Whether to display the first tick.
AxisTick.splitNumber
int 0
Number of segments that the axis is split into.
Background
class in XCharts.Runtime / Inherits from: MainComponent
Background component.
Background.autoColor
bool true
Whether to use theme background color for component color when the background component is on.
Background.borderStyle
BorderStyle v3.10.0
the border style of background.
Background.image
Sprite
the image of background.
Background.imageColor
Color
背景图颜色。
Background.imageHeight
float 0 v3.10.0
the height of background image.
Background.imageType
Image.Type
the fill type of background image.
Background.imageWidth
float 0 v3.10.0
the width of background image.
Background.show
bool true
Whether to enable the background component.
Bar
class in XCharts.Runtime / Inherits from: Serie, INeedSerieContainer
BaseAxisTheme
class in XCharts.Runtime / Inherits from: ComponentTheme / Subclasses: AxisTheme, RadiusAxisTheme, AngleAxisTheme, PolarAxisTheme, RadarAxisTheme
BaseAxisTheme.lineColor
Color32
the color of line.
BaseAxisTheme.lineLength
float 0f
the length of line.
BaseAxisTheme.lineType
the type of line.
Options:
Solid: 实线Dashed: 虚线Dotted: 点线DashDot: 点划线DashDotDot: 双点划线None: 双点划线
BaseAxisTheme.lineWidth
float 1f
the width of line.
BaseAxisTheme.minorSplitLineColor
Color32
the color of minor split line.
BaseAxisTheme.splitAreaColors
List<Color32>
the colors of split area.
BaseAxisTheme.splitLineColor
Color32
the color of split line.
BaseAxisTheme.splitLineLength
float 0f
the length of split line.
BaseAxisTheme.splitLineType
the type of split line.
Options:
Solid: 实线Dashed: 虚线Dotted: 点线DashDot: 点划线DashDotDot: 双点划线None: 双点划线
BaseAxisTheme.splitLineWidth
float 1f
the width of split line.
BaseAxisTheme.tickColor
Color32
the color of tick.
BaseAxisTheme.tickLength
float 5f
the length of tick.
BaseAxisTheme.tickWidth
float 1f
the width of tick.
BaseLine
class in XCharts.Runtime / Inherits from: ChildComponent / Subclasses: AxisLine, AxisMinorSplitLine, AxisMinorTick, AxisSplitLine, AxisTick
Settings related to base line.
BaseLine.lineStyle
线条样式
BaseLine.show
bool
Set this to false to prevent the axis line from showing.
BaseScatter
class in XCharts.Runtime / Inherits from: Serie, INeedSerieContainer / Subclasses: EffectScatter, Scatter
BaseSerie
class in XCharts.Runtime / Subclasses: Serie
BlurStyle
class in XCharts.Runtime / Inherits from: StateStyle, ISerieComponent, ISerieDataComponent
Since
v3.2.0
Configurations of blur state.
BorderStyle
class in XCharts.Runtime / Inherits from: ChildComponent
Since
v3.10.0
The style of border.
BorderStyle.borderColor
Color32
the color of border.
BorderStyle.borderWidth
float
the width of border.
BorderStyle.cornerRadius
float[]
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.
BorderStyle.roundedCorner
bool true
whether the border is rounded corner.
BorderStyle.show
bool false
whether the border is visible.
CalendarCoord
class in XCharts.Runtime / Inherits from: CoordSystem, IUpdateRuntimeData, ISerieContainer
Candlestick
class in XCharts.Runtime / Inherits from: Serie, INeedSerieContainer
ChartJson
class in XCharts.Runtime
ChartSettingsJson
class in XCharts.Runtime
ChartText
class in XCharts.Runtime
ChildComponent
class in XCharts.Runtime / Subclasses: AnimationStyle, AxisAnimation, AxisName, AxisSplitArea, AreaStyle, ArrowStyle, BaseLine, BorderStyle, IconStyle, ImageStyle, ItemStyle, Level, LevelStyle, LineArrow, LineStyle, Location, MLValue, MarqueeStyle, Padding, StageColor, SymbolStyle, TextLimit, TextStyle, CommentItem, CommentMarkStyle, LabelLine, LabelStyle, MarkAreaData, MarkLineData, StateStyle, VisualMapRange, ViewControl, UIComponentTheme, SerieData, SerieDataLink, ComponentTheme, SerieTheme, ThemeStyle
Comment
class in XCharts.Runtime / Inherits from: MainComponent, IPropertyChanged
Since
v3.15.0
comment of chart. Used to annotate special information in the chart.
Comment.items
List<CommentItem>
The items of comment.
Comment.labelStyle
The text style of all comments.
Comment.layer
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.
Comment.markStyle
The text style of all comments.
Comment.show
bool true
Set this to false to prevent the comment from showing.
CommentItem
class in XCharts.Runtime / Inherits from: ChildComponent
comment of chart.
CommentItem.content
string
content of comment.
CommentItem.labelStyle
The text style of all comments.
CommentItem.location
Location v3.5.0
The location of comment.
CommentItem.markRect
Rect
the mark rect of comment.
CommentItem.markStyle
the mark rect style.
CommentItem.show
bool true
Set this to false to prevent this comment item from showing.
CommentMarkStyle
class in XCharts.Runtime / Inherits from: ChildComponent
the comment mark style.
CommentMarkStyle.lineStyle
line style of comment mark area.
CommentMarkStyle.show
bool true
Set this to false to prevent this comment item from showing.
ComponentJson
class in XCharts.Runtime
ComponentTheme
class in XCharts.Runtime / Inherits from: ChildComponent / Subclasses: BaseAxisTheme, DataZoomTheme, LegendTheme, SubTitleTheme, TitleTheme, TooltipTheme, VisualMapTheme
ComponentTheme.font
Font
the font of text.
ComponentTheme.fontSize
int 18
the font size of text.
ComponentTheme.textBackgroundColor
Color
the color of text.
ComponentTheme.textColor
Color
the color of text.
ComponentTheme.tMPFont
TMP_FontAsset
the font of chart text。
CoordSystem
class in XCharts.Runtime / Inherits from: MainComponent / Subclasses: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord, SingleAxisCoord
Coordinate system component.
DataZoom
class in XCharts.Runtime / Inherits from: MainComponent, IUpdateRuntimeData
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.
DataZoom.areaStyle
阴影填充样式。
DataZoom.backgroundColor
Color32
The background color of the component.
DataZoom.borderColor
Color32
the color of dataZoom border.
DataZoom.borderWidth
float
边框宽。
DataZoom.bottom
float
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].
DataZoom.enable
bool true
Whether to show dataZoom.
DataZoom.end
float
The end percentage of the window out of the data extent, in the range of 0 ~ 100.
DataZoom.endLock
bool v3.6.0
Lock end value.
DataZoom.fillerColor
Color32
the color of dataZoom data area.
DataZoom.filterAxisRange
bool true v3.12.0
Whether dataZoom filters the axis min/max range. When true, the axis scale adapts to the current zoom window. When false, the axis always shows the full data range regardless of the zoom position.
DataZoom.filterMode
The mode of data filter.
Options:
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.
DataZoom.labelStyle
label style.
DataZoom.left
float
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].
DataZoom.lineStyle
阴影线条样式。
DataZoom.marqueeStyle
MarqueeStyle v3.5.0
选取框样式。
DataZoom.minZoomRatio
float 0.2f
The minimum zoom ratio of dataZoom. Range 0f-1f.
DataZoom.orient
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.
Options:
Horizonal: 水平Vertical: 垂直
DataZoom.rangeMode
Use absolute value or percent value in DataZoom.start and DataZoom.end.
Options:
//Value: The value type of start and end.取值类型Percent: percent value.
DataZoom.right
float
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].
DataZoom.scrollSensitivity
float 1.1f
The sensitivity of dataZoom scroll. The larger the number, the more sensitive it is.
DataZoom.showDataShadow
bool
Whether to show data shadow, to indicate the data tendency in brief.
DataZoom.showDetail
bool
Whether to show detail, that is, show the detailed data information when dragging.
DataZoom.start
float
The start percentage of the window out of the data extent, in the range of 0 ~ 100.
DataZoom.startLock
bool v3.6.0
Lock start value.
DataZoom.supportInside
bool
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).
DataZoom.supportInsideDrag
bool true
Whether insde drag is supported.
DataZoom.supportInsideScroll
bool true
Whether inside scrolling is supported.
DataZoom.supportMarquee
bool
Supported Box Selected. Provides a marquee for scaling the data area.
DataZoom.supportSlider
bool
Whether a slider is supported. There are separate sliders on which the user zooms or roams.
DataZoom.top
float
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].
DataZoom.xAxisIndexs
List<int>
Specify which xAxis is controlled by the dataZoom.
DataZoom.yAxisIndexs
List<int>
Specify which yAxis is controlled by the dataZoom.
DataZoom.zoomLock
bool
Specify whether to lock the size of window (selected area).
DataZoomTheme
class in XCharts.Runtime / Inherits from: ComponentTheme
DataZoomTheme.backgroundColor
Color32
the background color of datazoom.
DataZoomTheme.borderColor
Color32
the color of dataZoom border.
DataZoomTheme.borderWidth
float
the width of border line.
DataZoomTheme.dataAreaColor
Color32
the color of data area line.
DataZoomTheme.dataLineColor
Color32
the color of data area line.
DataZoomTheme.dataLineWidth
float
the width of data line.
DataZoomTheme.fillerColor
Color32
the color of dataZoom data area.
DebugInfo
class in XCharts.Runtime
DebugInfo.foldSeries
bool false
Whether to fold series in inspector view.
DebugInfo.labelStyle
DebugInfo.show
bool true
Whether show debug component.
DebugInfo.showAllChartObject
bool false
Whether show children components of chart in hierarchy view.
DebugInfo.showDebugInfo
bool false
EffectScatter
class in XCharts.Runtime / Inherits from: BaseScatter
EmphasisStyle
class in XCharts.Runtime / Inherits from: StateStyle, ISerieComponent, ISerieDataComponent
Since
v3.2.0
Configurations of emphasis state.
EmphasisStyle.blurScope
The range of fade out when focus is enabled.
Options:
GridCoord: coordinate system.Series: series.Global: global.
EmphasisStyle.focus
When the data is highlighted, whether to fade out of other data to focus the highlighted.
Options:
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.
EmphasisStyle.scale
float 1.1f
Whether to scale to highlight the data in emphasis state.
EndLabelStyle
class in XCharts.Runtime / Inherits from: LabelStyle
GridCoord
class in XCharts.Runtime / Inherits from: CoordSystem, IUpdateRuntimeData, ISerieContainer
Grid component.
GridCoord.backgroundColor
Color32
Background color of grid, which is transparent by default.
GridCoord.borderColor
Color32
The color of grid border.
GridCoord.borderWidth
float 0f
Border width of grid.
GridCoord.bottom
float 0.14f
Distance between grid component and the bottom side of the container.
GridCoord.layoutIndex
int -1 v3.8.0
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.
GridCoord.left
float 0.11f
Distance between grid component and the left side of the container.
GridCoord.right
float 0.08f
Distance between grid component and the right side of the container.
GridCoord.show
bool true
Whether to show the grid in rectangular coordinate.
GridCoord.showBorder
bool false
Whether to show the grid border.
GridCoord.top
float 0.22f
Distance between grid component and the top side of the container.
GridCoord3D
class in XCharts.Runtime / Inherits from: CoordSystem, IUpdateRuntimeData, ISerieContainer
Since
v3.11.0
Grid component.
GridCoord3D.bottom
float 0.15f
Distance between grid component and the bottom side of the container.
GridCoord3D.boxDepth
float 0.2f
The depth of the box in the coordinate system.
GridCoord3D.boxHeight
float 0.4f
The height of the box in the coordinate system.
GridCoord3D.boxWidth
float 0.55f
The width of the box in the coordinate system.
GridCoord3D.left
float 0.15f
Distance between grid component and the left side of the container.
GridCoord3D.right
float 0.2f
Distance between grid component and the right side of the container.
GridCoord3D.show
bool true
Whether to show the grid in rectangular coordinate.
GridCoord3D.showBorder
bool false
Whether to show the grid border.
GridCoord3D.top
float 0.3f
Distance between grid component and the top side of the container.
GridCoord3D.viewControl
View control component in 3D coordinate system.
GridCoord3D.xYExchanged
bool false
GridLayout
class in XCharts.Runtime / Inherits from: MainComponent, 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
float 0.12f
Distance between grid component and the bottom side of the container.
GridLayout.column
int 2
the column count of grid layout.
GridLayout.inverse
bool false
Whether to inverse the grid layout.
GridLayout.left
float 0.1f
Distance between grid component and the left side of the container.
GridLayout.right
float 0.08f
Distance between grid component and the right side of the container.
GridLayout.row
int 2
the row count of grid layout.
GridLayout.show
bool true
Whether to show the grid in rectangular coordinate.
GridLayout.spacing
Vector2 Vector2.zero
the spacing of grid layout.
GridLayout.top
float 0.22f
Distance between grid component and the top side of the container.
Heatmap
class in XCharts.Runtime / Inherits from: Serie, INeedSerieContainer
Heatmap.heatmapType
HeatmapType v3.3.0
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
IconStyle.align
水平方向对齐方式。
Options:
Center: Alignment mode.Left: Alignment mode.Right: Alignment mode.
IconStyle.autoHideWhenLabelEmpty
bool false
当label内容为空时是否自动隐藏图标
IconStyle.color
Color
图标颜色。
IconStyle.height
float 20
图标高。
IconStyle.layer
显示在上层还是在下层。
Options:
UnderText: The icon is display under the label text. 图标在标签文字下AboveText: The icon is display above the label text. 图标在标签文字上
IconStyle.offset
Vector3
图标偏移。
IconStyle.show
bool false
Whether the data icon is show.
IconStyle.sprite
Sprite
The image of icon.
IconStyle.type
Image.Type
How to display the icon.
IconStyle.width
float 20
图标宽。
ImageStyle
class in XCharts.Runtime / Inherits from: ChildComponent, ISerieComponent, ISerieDataComponent
ImageStyle.autoColor
bool
是否自动颜色。
ImageStyle.color
Color
图标颜色。
ImageStyle.height
float 0
图标高。
ImageStyle.show
bool true
Whether the data icon is show.
ImageStyle.sprite
Sprite
The image of icon.
ImageStyle.type
Image.Type
How to display the image.
ImageStyle.width
float 0
图标宽。
Indicator
class in XCharts.Runtime
Indicator of radar chart, which is used to assign multiple variables(dimensions) in radar chart.
Indicator.axisLine
axis line.
Indicator.axisName
Name options for radar indicators.
Indicator.ceilRate
double 0
The ratio of maximum and minimum values rounded upward. The default is 0, which is automatically calculated.
Indicator.center
float[]
the center of radar chart.
Indicator.connectCenter
bool false
Whether serie data connect to radar center with line.
Indicator.gridIndex
int -1 v3.8.0
Index of layout component that serie uses. Default is -1 means not use layout, otherwise use the first layout component.
Indicator.indicator
bool true
Whether to show indicator.
Indicator.indicatorGap
float 10
The gap of indicator and radar.
Indicator.indicatorList
List<Indicator>
the indicator list.
Indicator.isAxisTooltip
bool
是否Tooltip显示轴线上的所有数据。
Indicator.lineGradient
bool true
Whether need gradient for data line.
Indicator.max
double
The maximum value of indicator, with default value of 0, but we recommend to set it manually.
Indicator.min
double
The minimum value of indicator, with default value of 0.
Indicator.name
string
The name of indicator.
Indicator.outRangeColor
Color32 Color.red
The color displayed when data out of range.
Indicator.positionType
PositionType
The position type of indicator.
Indicator.radius
float 100
the radius of radar.
Indicator.range
double[]
Normal range. When the value is outside this range, the display color is automatically changed.
Indicator.shape
Shape
Radar render type, in which 'Polygon' and 'Circle' are supported.
Indicator.show
bool
[default:true] Set this to false to prevent the radar from showing.
Indicator.splitArea
Split area of axis in grid area.
Indicator.splitLine
split line.
Indicator.splitNumber
int 5
Segments of indicator axis.
Indicator.startAngle
float v3.4.0
起始角度。和时钟一样,12点钟位置是0度,顺时针到360度。
INeedSerieContainer
class in XCharts.Runtime / Subclasses: Bar, SimplifiedBar, Candlestick, SimplifiedCandlestick, Heatmap, Line, SimplifiedLine, Parallel, Radar, BaseScatter
IPropertyChanged
class in XCharts.Runtime / Subclasses: Location, Comment, Legend, Title
属性变更接口
ISerieComponent
class in XCharts.Runtime / Subclasses: AreaStyle, ImageStyle, LineArrow, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle
The interface for serie component.
ISerieContainer
class in XCharts.Runtime / Subclasses: RadarCoord, CalendarCoord, GridCoord, GridCoord3D, ParallelCoord, PolarCoord
ISerieDataComponent
class in XCharts.Runtime / Subclasses: AreaStyle, ImageStyle, ItemStyle, LineStyle, SerieSymbol, LabelLine, LabelStyle, BlurStyle, EmphasisStyle, SelectStyle, TitleStyle
The interface for serie data component.
ISimplifiedSerie
class in XCharts.Runtime / Subclasses: SimplifiedBar, SimplifiedCandlestick, SimplifiedLine
ItemStyle
class in XCharts.Runtime / Inherits from: ChildComponent, ISerieDataComponent
图形样式。
ItemStyle.backgroundColor
Color32
数据项背景颜色。
ItemStyle.backgroundGap
float v3.15.0
the gap between background and data item.
ItemStyle.backgroundWidth
float
数据项背景宽度。
ItemStyle.borderColor
Color32
边框的颜色。
ItemStyle.borderColor0
Color32
边框的颜色。
ItemStyle.borderGap
float 0