Line chart¶
Line charts help to understand shifts or changes in data. They are usually used to track changes over a period of time. When grouped with other lines (other data series), individual lines can be compared to one another.
Usage¶
Line charts can help users to track changes in data over time, compare performance of different groups and analyze trends and patterns to make timely decisions.
Basic line chart¶
Line charts connect a series of data points using a line. It displays quantitative data series over continuous intervals.

Multiple line chart¶
Use it to visualize trends and relationships in multiple data sets. It compares different data groups on the same scale to find out how each of them is performing compared to the others.

Step-line chart¶
Use it to visualize trends for a particular event that is not continuous in nature. This chart compares the magnitude of change in value and helps to discern the intermittent pattern of the trend.

Best practices¶
- Use appropriate time periods to ensure accurate insights.
- Choose a baseline that suits the data; choosing a zero baseline may not always represent the data change effectively.
- When comparing data sets, line charts are only useful if the axes follow the same scales.
- Don't plot too many lines. Limit the number to five.
Code¶
Usage¶
Required Packages
import { SiChartCartesianComponent } from '@siemens/charts-ng/cartesian';
@Component({
imports: [SiChartCartesianComponent, ...]
})
import { SiChartCartesianComponent } from '@siemens/charts-ng/cartesian'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| additionalOptionsinherited ¶ | EChartOption | undefined | Used to override specific properties set in Inherited from SiChartBaseComponent | |
| autoZoomSeriesIndexinherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| axisPointerinherited ¶ | string | boolean | undefined | false | Used to display Inherited from SiChartBaseComponent |
| customLegendActioninherited ¶ | boolean | undefined | Enable custom legend click actions exposed by the Inherited from SiChartBaseComponent | |
| dataZoomFilterModeinherited ¶ | FilterMode | 'none' | The data zoom filter mode. (see https://echarts.apache.org/en/option.html#dataZoom-inside.filterMode) The value 'filter' will cause the lines to be disconnected to the outside of the chart. Inherited from SiChartBaseComponent |
| dataZoomMaxValueSpaninherited ¶ | number | undefined | The upper limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.maxValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomMinValueSpaninherited ¶ | number | undefined | The lower limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.minValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomRangeinherited ¶ | DataZoomRange | undefined | Apply a specific zoom range (see https://echarts.apache.org/en/option.html#dataZoom-inside). Inherited from SiChartBaseComponent | |
| eChartContainerHeightinherited ¶ | string | null | undefined | The height of the ECharts container as decimal. Inherited from SiChartBaseComponent | |
| externalXAxisFormatterinherited ¶ | ((value: any, visibleRange: number) => string) | undefined | External XAxis Formatter from consumer Inherited from SiChartBaseComponent | |
| externalZoomSliderinherited ¶ | boolean | false | Flag to use external zoom slider Inherited from SiChartBaseComponent |
| maxEntriesinherited ¶ | number | 1000 | Maximum number of series data points shown in the chart. Inherited from SiChartBaseComponent |
| optionsinherited ¶ | EChartOption | undefined | See [ECharts 5.x Documentation]https://echarts.apache.org/en/option.html for all available options. Inherited from SiChartBaseComponent | |
| paletteinherited ¶ | string | undefined | undefined | The name of the color palette (if any) of the loaded Inherited from SiChartBaseComponent |
| rendererinherited ¶ | "canvas" | "svg" | 'canvas' | the renderer to use: canvas or svg Inherited from SiChartBaseComponent |
| selectedIteminherited ¶ | SelectedLegendItem | { legendItemName: '' } | Specify selected legend item. Inherited from SiChartBaseComponent |
| series ¶ | CartesianChartSeries[] | undefined | The series for the chart. | |
| showCustomLegendinherited ¶ | boolean | false | Enable to show a custom legend. The custom legend offers additional features such as, scroll bar to avoid legend and chart overlapping, Left and right alignment of legends based on y-axis, etc and many more. Inherited from SiChartBaseComponent |
| showLegendinherited ¶ | boolean | true | Show Echarts legend Inherited from SiChartBaseComponent |
| showTimeRangeBarinheriteddeprecated ¶ | boolean | false | If true, add consumer-provided time range bar. Use together with Deprecated: The input will be removed in future versions as the time range bar slot is deprecated. Inherited from SiChartBaseComponent |
| stacked ¶ | boolean | false | Used to display the chart as a stacked one. |
| subChartGrids ¶ | SubchartGrid[] | undefined | Grid definitions for rendering series in subcharts. | |
| subTitleinherited ¶ | string | undefined | The subtitle of the chart. Inherited from SiChartBaseComponent | |
| themeinherited ¶ | any | The desired theme to load. Inherited from SiChartBaseComponent | |
| themeCustomizationinherited ¶ | any | Used to override specific options of loaded Inherited from SiChartBaseComponent | |
| titleinherited ¶ | string | undefined | The title of the chart. Inherited from SiChartBaseComponent | |
| tooltipFormatter ¶ | string | TooltipComponentFormatterCallback<TooltipComponentFormatterCallbackParams> | undefined | The content formatter of the tooltip's floating layer, supporting string templates and callbacks. Custom formatters are responsible for escaping untrusted values with | |
| visibleEntriesinherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRangeinherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| xAxis ¶ | ChartXAxis | ChartXAxis[] | undefined | The x axis in cartesian(rectangular) coordinate. | |
| yAxis ¶ | ChartYAxis | ChartYAxis[] | undefined | The y axis in cartesian(rectangular) coordinate. | |
| zoomInsideinherited ¶ | boolean | false | Enables zooming inside the chart with the mouse wheel/touch. Whether zooming inside the chart is possible with mouse. Inherited from SiChartBaseComponent |
| zoomMode ¶ | boolean | undefined | Whether brush zoom mode is enabled. | |
| zoomSliderinherited ¶ | boolean | false | Enables the zoom slider below the chart. Inherited from SiChartBaseComponent |
| zoomSliderBrushinherited ¶ | boolean | true | enable brush mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderRealtimeinherited ¶ | boolean | true | realtime update mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderShadowinherited ¶ | boolean | true | Shows data shadow in dataZoom slider, use together with Inherited from SiChartBaseComponent |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| chartGridResizedinherited ¶ | GridRectCoordinate | Event emitted when chart grid is resized. Inherited from SiChartBaseComponent |
| chartSeriesClickinherited ¶ | LegendItem | Event emitted when a chart series is clicked. Inherited from SiChartBaseComponent |
| customLegendMultiLineInfoEventinherited ¶ | CustomLegendMultiLineInfo[] | Event emitted when custom legend multi-line info changes. Inherited from SiChartBaseComponent |
| dataZoominherited ¶ | DataZoomEvent | Event emitted when data zoom changes. Inherited from SiChartBaseComponent |
| pointerinherited ¶ | AxisPointerEvent | Event emitted when axis pointer moves. Inherited from SiChartBaseComponent |
| selectionChangedinherited ¶ | any | Event emitted when selection changes e.g. clicking on a legend item. Inherited from SiChartBaseComponent |
| showLegendChangeinherited ¶ | boolean | Show Echarts legend Inherited from SiChartBaseComponent |
| timeRangeChangeinherited ¶ | number | Emitted when data zoom changes, indicating the time range in milliseconds, 0 for full range Inherited from SiChartBaseComponent |
| visibleEntriesChangeinherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRangeChangeinherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| startProgressIndication()inherited ¶ | () => void | Show loading indicator. Inherited from SiChartBaseComponent |
| stopProgressIndication()inherited ¶ | () => void | Hide loading indicator. Inherited from SiChartBaseComponent |
Types Documentation¶
- inherited
If enable animation
-
Delay of initialize animation Can be a callback to specify duration of each element
animationDelay?:
inheritednumber | AnimationDelayCallback¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDelayUpdate?:
inheritednumber | AnimationDelayCallback¶ -
Duration of initialize animation. Can be a callback to specify duration of each element
animationDuration?:
inheritednumber | AnimationDurationCallback¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDurationUpdate?:
inheritednumber | AnimationDurationCallback¶ -
Easing of initialize animation
animationEasing?:
inherited("linear" | "quadraticIn" | "quadraticOut" | "quadraticInOut" | "cubicIn" | "cubicOut" | "cubicInOut" | "quarticIn" | "quarticOut" | "quarticInOut" | "quinticIn" | "quinticOut" | "quinticInOut" | "sinusoidalIn" | "sinusoidalOut" | "sinusoidalInOut" | "exponentialIn" | "exponentialOut" | "exponentialInOut" | "circularIn" | "circularOut" | "circularInOut" | "elasticIn" | "elasticOut" | "elasticInOut" | "backIn" | "backOut" | "backInOut" | "bounceIn" | "bounceOut" | "bounceInOut" | ((percent: number) => number))¶ -
Easing of data update animation.
animationEasingUpdate?:
inherited("linear" | "quadraticIn" | "quadraticOut" | "quadraticInOut" | "cubicIn" | "cubicOut" | "cubicInOut" | "quarticIn" | "quarticOut" | "quarticInOut" | "quinticIn" | "quinticOut" | "quinticInOut" | "sinusoidalIn" | "sinusoidalOut" | "sinusoidalInOut" | "exponentialIn" | "exponentialOut" | "exponentialInOut" | "circularIn" | "circularOut" | "circularInOut" | "elasticIn" | "elasticOut" | "elasticInOut" | "backIn" | "backOut" | "backInOut" | "bounceIn" | "bounceOut" | "bounceInOut" | ((percent: number) => number))¶ - inherited
Disable animation when the number of elements exceeds the threshold
-
areaStyle?:
inherited(AreaStyleOption<Color> & { origin?: "auto" | "start" | "end" | number; })¶ - inherited
-
Blur states.
blur?:
inherited(LineStateOption<DefaultLabelFormatterCallbackParams> & { lineStyle?: LineStyleOption<Color>; areaStyle?: AreaStyleOption<Color>; })¶ - inherited
-
color?:
inheritedColor | Color[]¶ -
colorBy?:
inherited("data" | "series")¶ -
colorLayer?:
inheritedColor[][]¶ - inherited
-
coord?:
inherited(Date | (string | number)) | (null | undefined) | ((Date | (string | number)) | (null | undefined))[] | ((Date | (string | number)) | (null | undefined) | (Date | (string | number))[])[]¶ -
coordinateSystem?:
inherited"cartesian2d" | "polar"¶ -
coordinateSystemUsage?:
inherited("data" | "box")¶ - inherited
Cursor when mouse on the elements
-
customLegendToolTip?:
stringInherited from SiSeriesOption¶ -
data?:
inherited(((string | number | Date | null | undefined) | (string | number | Date | null | undefined)[]) | LineDataItemOption)[]¶ -
groupId of data. can be used for doing drilldown / up animation It will be ignored if:
• groupId is specified in each data
• encode.itemGroupId is given.
dataGroupId?:
inherited(string | number)¶ - inherited
- inherited
-
dimensions?:
inherited(string | { type?: "number" | "time" | "float" | "int" | "ordinal"; name?: string; displayName?: string; } | undefined)[]¶ -
displayName?:
stringInherited from SiSeriesOption¶ -
Emphasis states
emphasis?:
inherited(LineStateOption<DefaultLabelFormatterCallbackParams> & { focus?: "none" | "series" | "self"; scale?: boolean | number; } & { lineStyle?: Omit<LineStyleOption<Color>, "width"> & { width?: (number | undefined) | "bolder"; }; areaStyle?: AreaStyleOption<Color>; } & { blurScope?: "coordinateSystem" | "series" | "global"; disabled?: boolean; })¶ -
encode?:
inheritedOptionEncode¶ -
endLabel?:
inheritedLineEndLabelOption¶ - inherited
- inherited
-
itemStyle?:
inheritedItemStyleOption<DefaultLabelFormatterCallbackParams>¶ -
label?:
inheritedSeriesLabelOption<DefaultLabelFormatterCallbackParams, { positionExtra: never; }>¶ -
Overall label layout option in label layout stage.
labelLayout?:
inheritedLabelLayoutOption | LabelLayoutOptionCallback¶ -
labelLine?:
inheritedLabelLineOption¶ - inherited
-
lineStyle?:
inheritedLineStyleOption<Color>¶ -
mainType?:
inherited"series"¶ -
markArea?:
inheritedMarkAreaComponentOption¶ -
markLine?:
inheritedMarkLineComponentOption¶ -
markPoint?:
inheritedMarkPointComponentOption¶ - inherited
- inherited
- inherited
- inherited
Configurations about progressive rendering
-
progressiveChunkMode?:
inherited"mod"¶ -
progressiveThreshold?:
inheritednumber¶ -
sampling?:
inherited"none" | "average" | "min" | "max" | "minmax" | "sum" | "lttb" | ((frame: ArrayLike<number>) => number)¶ -
Select states
select?:
inherited(LineStateOption<DefaultLabelFormatterCallbackParams> & { disabled?: boolean; })¶ -
Map of selected data key is name or index of data.
selectedMap?:
inherited{ [key: string]: boolean; } | "all"¶ -
selectedMode?:
inheritedboolean | "series" | "single" | "multiple"¶ -
When dataset is used, seriesLayoutBy specifies whether the column or the row of dataset is mapped to the series namely, the series is "layout" on columns or rows
seriesLayoutBy?:
inherited"column" | "row"='column'¶ -
showAllSymbol?:
inheritedboolean | "auto"¶ - inherited
- inherited
- inherited
-
smoothMonotone?:
inherited"none" | "x" | "y"¶ -
sourceHeader?:
inherited(number | boolean | "auto")¶ - inherited
-
stackOrder?:
inherited"seriesAsc" | "seriesDesc"¶ -
stackStrategy?:
inherited"all" | "samesign" | "positive" | "negative"¶ -
Animation config for state transition.
stateAnimation?:
inheritedAnimationOption$1¶ -
step?:
inheritedfalse | "start" | "end" | "middle"¶ -
type of symbol, like
cirlce,rect, or custom path and image.symbol?:
inheritedstring | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => string)¶ - inherited
-
symbolOffset?:
inheritedstring | number | (string | number)[] | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => string | number | (string | number)[])¶ -
symbolRotate?:
inheritednumber | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => number)¶ -
Size of symbol.
symbolSize?:
inheritednumber | number[] | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => number | number[])¶ -
tooltip?:
inherited(CommonTooltipOption<DefaultLabelFormatterCallbackParams> & { trigger?: "item" | "axis" | boolean | "none"; })¶ -
Whether to trigger event when hovering on the line or the area
@since: v6.0.1
triggerEvent?:
inheritedboolean | "line" | "area"¶ - inheriteddeprecated
Deprecated: This option has been deprecated since v6.0.1. Use
triggerEvent: 'line'for only line event ortriggerEvent: truefor both line and area event. -
type?:
inherited"line"¶ -
If enabled universal transition cross series.
Example:
universalTransition: true universalTransition: { enabled: true }universalTransition?:
inheritedboolean | UniversalTransitionOption¶ -
visible?:
booleanInherited from SiSeriesOption¶ - inherited
- inherited
- inherited
- inherited
- inherited
- inherited
GridComponentOption
extends ComponentOption, ComponentOnCalendarOptionMixin, ComponentOnMatrixOptionMixin, BoxLayoutOptionMixin, ShadowOptionMixin ¶-
bottom?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
calendarId?:
OptionIdInherited from ComponentOnCalendarOptionMixin¶ -
calendarIndex?:
numberInherited from ComponentOnCalendarOptionMixin¶ - deprecated
Deprecated: Use
grid.outerBoundsinstead. Whether grid size contains axis labels. This approach estimates the size by sample labels. It works for most case but it does not strictly contain all labels in some cases. -
coord?:
CoordinateSystemDataCoordInherited from ComponentOption¶ -
coordinateSystem?:
stringInherited from ComponentOption¶ -
coordinateSystemUsage?:
CoordinateSystemUsageOptionInherited from ComponentOption¶ -
height?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
id?:
OptionIdInherited from ComponentOption¶ -
left?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
mainType?:
"grid"Inherited from ComponentOption¶ -
matrixId?:
OptionIdInherited from ComponentOnMatrixOptionMixin¶ -
matrixIndex?:
numberInherited from ComponentOnMatrixOptionMixin¶ -
name?:
OptionNameInherited from ComponentOption¶ -
{left, right, top, bottom, width, height}: Define a outerBounds rect, based on:
• the canvas by default.
• or the
dataToLayoutresult if aboxCoordinateSystemis specified.outerBounds?:
BoxLayoutOptionMixin¶ -
Available only when
outerBoundsModeis not 'none'. Offer a constraint to not to shrink the grid rect causing smaller that width/height. A string means percent, like '30%', based on the original rect size determined bygrid.top/right/bottom/left/width/height. -
• 'all': Default. Contains the cartesian rect and axis labels and axis name.
• 'axisLabel': Contains the cartesian rect and axis labels. This effect differs slightly from the previous option
containLabelbut more precise.• 'auto'/null/undefined: Default. be 'axisLabel' if
containLabel:true, otherwise 'all'.outerBoundsContain?:
"auto" | "all" | NullUndefined$1 | "axisLabel"¶ -
Define a constrains rect. Axis lines is firstly laid out based on the rect defined by
grid.left/right/top/bottom/width/height. (for axis line alignment requirements between multiple grids) But if axisLabel and/or axisName overflow the outerBounds, shrink the layout to avoid that overflow.Options:
• 'none': outerBounds is infinity.
• 'same': outerBounds is the same as the layout rect defined by
grid.left/right/top/bottom/width/height.• 'auto'/null/undefined: Default. Use
outerBounds, or 'same' ifcontainLabel:true.Note:
grid.containLabelis equivalent to{outerBoundsMode: 'same', outerBoundsContain: 'axisLabel'}.outerBoundsMode?:
"auto" | "none" | NullUndefined$1 | "same"¶ -
right?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
shadowBlur?:
numberInherited from ShadowOptionMixin¶ -
shadowColor?:
stringInherited from ShadowOptionMixin¶ -
shadowOffsetX?:
numberInherited from ShadowOptionMixin¶ -
shadowOffsetY?:
numberInherited from ShadowOptionMixin¶ -
top?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
type?:
stringInherited from ComponentOption¶ -
width?:
PositionSizeOptionInherited from BoxLayoutOptionMixin¶ -
z?:
numberInherited from ComponentOption¶ -
zlevel?:
numberInherited from ComponentOption¶
MarkAreaComponentOption
extends MarkerOption, MarkAreaStateOption, StatesOptionMixin<MarkAreaStateOption, StatesMixinBase> ¶-
If enable animation
-
Delay of initialize animation Can be a callback to specify duration of each element
animationDelay?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDelayUpdate?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Duration of initialize animation. Can be a callback to specify duration of each element
animationDuration?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDurationUpdate?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Easing of initialize animation
animationEasing?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Easing of data update animation.
animationEasingUpdate?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Disable animation when the number of elements exceeds the threshold
animationThreshold?:
numberInherited fromAnimationOptionMixin¶ -
Blur states.
blur?:
MarkAreaStateOptionInherited from StatesOptionMixin<MarkAreaStateOption, StatesMixinBase>¶ -
coord?:
CoordinateSystemDataCoordInherited fromComponentOption¶ -
coordinateSystemUsage?:
CoordinateSystemUsageOptionInherited fromComponentOption¶ -
data?:
(MarkArea1DDataItemOption | MarkArea2DDataItemOption)[]Inherited from MarkerOption¶ -
Emphasis states
emphasis?:
(MarkAreaStateOption & { blurScope?: BlurScope; disabled?: boolean; })Inherited from StatesOptionMixin<MarkAreaStateOption, StatesMixinBase>¶ -
itemStyle?:
ItemStyleOption<never>Inherited from MarkAreaStateOption¶ -
label?:
SeriesLabelOption<CallbackDataParams, { positionExtra: never; }>Inherited from MarkAreaStateOption¶ -
mainType?:
"markArea"Inherited fromComponentOption¶ -
name?:
OptionNameInherited fromComponentOption¶ -
Select states
select?:
(MarkAreaStateOption & { disabled?: boolean; })Inherited from StatesOptionMixin<MarkAreaStateOption, StatesMixinBase>¶ -
silent?:
booleanInherited from MarkerOption¶ -
tooltip?:
(CommonTooltipOption<unknown> & { trigger?: "item" | "axis" | boolean | "none"; })Inherited from MarkerOption¶ -
z2?:
numberInherited from MarkAreaStateOption¶
MarkLineComponentOption
extends MarkerOption, MarkLineStateOption, StatesOptionMixin<MarkLineStateOption, StatesMixinBase> ¶-
If enable animation
-
Delay of initialize animation Can be a callback to specify duration of each element
animationDelay?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDelayUpdate?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Duration of initialize animation. Can be a callback to specify duration of each element
animationDuration?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDurationUpdate?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Easing of initialize animation
animationEasing?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Easing of data update animation.
animationEasingUpdate?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Disable animation when the number of elements exceeds the threshold
animationThreshold?:
numberInherited fromAnimationOptionMixin¶ -
Blur states.
blur?:
MarkLineStateOptionInherited from StatesOptionMixin<MarkLineStateOption, StatesMixinBase>¶ -
coord?:
CoordinateSystemDataCoordInherited fromComponentOption¶ -
coordinateSystemUsage?:
CoordinateSystemUsageOptionInherited fromComponentOption¶ -
data?:
(MarkLine1DDataItemOption | MarkLine2DDataItemOption)[]Inherited from MarkerOption¶ -
Emphasis states
emphasis?:
(MarkLineStateOption & { blurScope?: BlurScope; disabled?: boolean; })Inherited from StatesOptionMixin<MarkLineStateOption, StatesMixinBase>¶ -
itemStyle for symbol
itemStyle?:
ItemStyleOption<never>Inherited from MarkLineStateOption¶ -
label?:
SeriesLineLabelOptionInherited from MarkLineStateOption¶ -
lineStyle?:
LineStyleOption<ZRColor>Inherited from MarkLineStateOption¶ -
mainType?:
"markLine"Inherited fromComponentOption¶ -
name?:
OptionNameInherited fromComponentOption¶ -
Precision used on statistic method
-
Select states
select?:
(MarkLineStateOption & { disabled?: boolean; })Inherited from StatesOptionMixin<MarkLineStateOption, StatesMixinBase>¶ -
silent?:
booleanInherited from MarkerOption¶ -
symbolOffset?:
string | number | (string | number)[] | (string | number)[][]¶ -
tooltip?:
(CommonTooltipOption<unknown> & { trigger?: "item" | "axis" | boolean | "none"; })Inherited from MarkerOption¶ -
z2?:
numberInherited from MarkLineStateOption¶
MarkPointComponentOption
extends MarkerOption, SymbolOptionMixin<CallbackDataParams>, StatesOptionMixin<MarkPointStateOption, StatesMixinBase>, MarkPointStateOption ¶-
If enable animation
-
Delay of initialize animation Can be a callback to specify duration of each element
animationDelay?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDelayUpdate?:
number | AnimationDelayCallbackInherited fromAnimationOptionMixin¶ -
Duration of initialize animation. Can be a callback to specify duration of each element
animationDuration?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Delay of data update animation. Can be a callback to specify duration of each element
animationDurationUpdate?:
number | AnimationDurationCallbackInherited fromAnimationOptionMixin¶ -
Easing of initialize animation
animationEasing?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Easing of data update animation.
animationEasingUpdate?:
AnimationEasingInherited fromAnimationOptionMixin¶ -
Disable animation when the number of elements exceeds the threshold
animationThreshold?:
numberInherited fromAnimationOptionMixin¶ -
Blur states.
blur?:
MarkPointStateOptionInherited from StatesOptionMixin<MarkPointStateOption, StatesMixinBase>¶ -
coord?:
CoordinateSystemDataCoordInherited fromComponentOption¶ -
coordinateSystemUsage?:
CoordinateSystemUsageOptionInherited fromComponentOption¶ -
data?:
MarkPointDataItemOption[]Inherited from MarkerOption¶ -
Emphasis states
emphasis?:
(MarkPointStateOption & { blurScope?: BlurScope; disabled?: boolean; })Inherited from StatesOptionMixin<MarkPointStateOption, StatesMixinBase>¶ -
itemStyle?:
ItemStyleOption<never>Inherited from MarkPointStateOption¶ -
label?:
SeriesLabelOption<CallbackDataParams, { positionExtra: never; }>Inherited from MarkPointStateOption¶ -
mainType?:
"markPoint"Inherited fromComponentOption¶ -
name?:
OptionNameInherited fromComponentOption¶ -
Select states
select?:
(MarkPointStateOption & { disabled?: boolean; })Inherited from StatesOptionMixin<MarkPointStateOption, StatesMixinBase>¶ -
silent?:
booleanInherited from MarkerOption¶ -
type of symbol, like
cirlce,rect, or custom path and image.symbol?:
string | SymbolCallback<CallbackDataParams>Inherited from SymbolOptionMixin<CallbackDataParams>¶ -
symbolKeepAspect?:
booleanInherited from SymbolOptionMixin<CallbackDataParams>¶ -
symbolOffset?:
string | number | (string | number)[] | SymbolOffsetCallback<CallbackDataParams>Inherited from SymbolOptionMixin<CallbackDataParams>¶ -
symbolRotate?:
number | SymbolRotateCallback<CallbackDataParams>Inherited from SymbolOptionMixin<CallbackDataParams>¶ -
Size of symbol.
symbolSize?:
number | number[] | SymbolSizeCallback<CallbackDataParams>Inherited from SymbolOptionMixin<CallbackDataParams>¶ -
tooltip?:
(CommonTooltipOption<unknown> & { trigger?: "item" | "axis" | boolean | "none"; })Inherited from MarkerOption¶ -
z2?:
numberInherited from MarkPointStateOption¶
Except where otherwise noted, content on this site is licensed under MIT License.
