Skip to content
Edit this page

SiLineSeriesOption Type documentation

TypeScript declaration

import type { SiLineSeriesOption } from '@siemens/charts-ng/cartesian';
Properties
  • If enable animation

    animation ? : boolean

    inherited
  • Delay of initialize animation Can be a callback to specify duration of each element

    animationDelay ? : number | AnimationDelayCallback

    inherited
  • Delay of data update animation. Can be a callback to specify duration of each element

    animationDelayUpdate ? : number | AnimationDelayCallback

    inherited
  • Duration of initialize animation. Can be a callback to specify duration of each element

    animationDuration ? : number | AnimationDurationCallback

    inherited
  • Delay of data update animation. Can be a callback to specify duration of each element

    animationDurationUpdate ? : number | AnimationDurationCallback

    inherited
  • Easing of initialize animation

    animationEasing ? : ("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
  • Easing of data update animation.

    animationEasingUpdate ? : ("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

    animationThreshold ? : number

    inherited
  • area ? : boolean

  • areaStyle ? : (AreaStyleOption<Color> & { origin?: "auto" | "start" | "end" | number; })

    inherited
  • blendMode ? : string

    inherited
  • Blur states.

    blur ? : (LineStateOption<DefaultLabelFormatterCallbackParams> & { lineStyle?: LineStyleOption<Color>; areaStyle?: AreaStyleOption<Color>; })

    inherited
  • clip ? : boolean

    inherited
  • color ? : Color | Color[]

    inherited
  • colorBy ? : ("data" | "series")

    inherited
  • colorLayer ? : Color[][]

    inherited
  • connectNulls ? : boolean

    inherited
  • coord ? : (Date | (string | number)) | (null | undefined) | ((Date | (string | number)) | (null | undefined))[] | ((Date | (string | number)) | (null | undefined) | (Date | (string | number))[])[]

    inherited
  • coordinateSystem ? : "cartesian2d" | "polar"

    inherited
  • coordinateSystemUsage ? : ("data" | "box")

    inherited
  • Cursor when mouse on the elements

    cursor ? : string

    inherited
  • customLegendToolTip ? : string Inherited from SiSeriesOption

  • data ? : (((string | number | Date | null | undefined) | (string | number | Date | null | undefined)[]) | LineDataItemOption)[]

    inherited
  • 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 ? : (string | number)

    inherited
  • datasetId ? : string | number

    inherited
  • datasetIndex ? : number

    inherited
  • dimensions ? : (string | { type?: "number" | "time" | "float" | "int" | "ordinal"; name?: string; displayName?: string; } | undefined)[]

    inherited
  • displayName ? : string Inherited from SiSeriesOption

  • Emphasis states

    emphasis ? : (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; })

    inherited
  • encode ? : OptionEncode

    inherited
  • endLabel ? : LineEndLabelOption

    inherited
  • hoverLayerThreshold ? : number

    inherited
  • id ? : (string | number)

    inherited
  • itemStyle ? : ItemStyleOption<DefaultLabelFormatterCallbackParams>

    inherited
  • label ? : SeriesLabelOption<DefaultLabelFormatterCallbackParams, { positionExtra: never; }>

    inherited
  • Overall label layout option in label layout stage.

    labelLayout ? : LabelLayoutOption | LabelLayoutOptionCallback

    inherited
  • labelLine ? : LabelLineOption

    inherited
  • lineStyle ? : LineStyleOption<Color>

    inherited
  • mainType ? : "series"

    inherited
  • markArea ? : MarkAreaComponentOption

    inherited
  • markLine ? : MarkLineComponentOption

    inherited
  • markPoint ? : MarkPointComponentOption

    inherited
  • name ? : (string | number)

    inherited
  • polarId ? : (string | number)

    inherited
  • polarIndex ? : number

    inherited
  • Configurations about progressive rendering

    progressive ? : number | false

    inherited
  • progressiveChunkMode ? : "mod"

    inherited
  • progressiveThreshold ? : number

    inherited
  • sampling ? : "none" | "average" | "min" | "max" | "minmax" | "sum" | "lttb" | ((frame: ArrayLike<number>) => number)

    inherited
  • Select states

    select ? : (LineStateOption<DefaultLabelFormatterCallbackParams> & { disabled?: boolean; })

    inherited
  • Map of selected data key is name or index of data.

    selectedMap ? : { [key: string]: boolean; } | "all"

    inherited
  • selectedMode ? : boolean | "series" | "single" | "multiple"

    inherited
  • 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 ? : "column" | "row" = 'column'

    inherited
  • showAllSymbol ? : boolean | "auto"

    inherited
  • showSymbol ? : boolean

    inherited
  • silent ? : boolean

    inherited
  • smooth ? : number | boolean

    inherited
  • smoothMonotone ? : "none" | "x" | "y"

    inherited
  • sourceHeader ? : (number | boolean | "auto")

    inherited
  • stack ? : string

    inherited
  • stackOrder ? : "seriesAsc" | "seriesDesc"

    inherited
  • stackStrategy ? : "all" | "samesign" | "positive" | "negative"

    inherited
  • Animation config for state transition.

    stateAnimation ? : AnimationOption$1

    inherited
  • step ? : false | "start" | "end" | "middle"

    inherited
  • type of symbol, like cirlce, rect, or custom path and image.

    symbol ? : string | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => string)

    inherited
  • symbolKeepAspect ? : boolean

    inherited
  • symbolOffset ? : string | number | (string | number)[] | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => string | number | (string | number)[])

    inherited
  • symbolRotate ? : number | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => number)

    inherited
  • Size of symbol.

    symbolSize ? : number | number[] | ((rawValue: any, params: DefaultLabelFormatterCallbackParams) => number | number[])

    inherited
  • tooltip ? : (CommonTooltipOption<DefaultLabelFormatterCallbackParams> & { trigger?: "item" | "axis" | boolean | "none"; })

    inherited
  • Whether to trigger event when hovering on the line or the area

    @since: v6.0.1

    triggerEvent ? : boolean | "line" | "area"

    inherited
  • Deprecated: This option has been deprecated since v6.0.1. Use triggerEvent: 'line' for only line event or triggerEvent: true for both line and area event.

    triggerLineEvent ? : boolean

    inherited deprecated
  • type ? : "line"

    inherited
  • If enabled universal transition cross series.

    Example:

    universalTransition: true
     universalTransition: { enabled: true }
    

    universalTransition ? : boolean | UniversalTransitionOption

    inherited
  • visible ? : boolean Inherited from SiSeriesOption

  • xAxisId ? : (string | number)

    inherited
  • xAxisIndex ? : number

    inherited
  • yAxisId ? : (string | number)

    inherited
  • yAxisIndex ? : number

    inherited
  • z ? : number

    inherited
  • zlevel ? : number

    inherited

Types Documentation

import type { LineSeriesOption } from '@siemens/charts-ng';

import type { MarkAreaComponentOption } from '@siemens/charts-ng';
Properties

import type { MarkLineComponentOption } from '@siemens/charts-ng';
Properties

import type { MarkPointComponentOption } from '@siemens/charts-ng';
Properties

import type { SiSeriesOption } from '@siemens/charts-ng/common';


Except where otherwise noted, content on this site is licensed under MIT License.