Skip to content

SiChartSankeyComponent documentation

selector
si-chart-sankey

Input Properties

NameTypeDefaultDescription
additionalOptions
EChartOptionUsed to override specific properties set in options .
autoZoomSeriesIndex
number-1No auto dataZoom update) by default. Use together with visibleEntries .
axisPointer
(undefined | string | boolean)falseUsed to display axisPointer line either by click or mouse-move.
customLegendAction
boolean
dataZoomFilterMode
FilterMode'none'
dataZoomMaxValueSpan
number
dataZoomMinValueSpan
number
dataZoomRange
DataZoomRange
eChartContainerHeight
(null | string)
externalXAxisFormatter
(value: any, visibleRange: number) => stringExternal XAxis Formatter from consumer
externalZoomSlider
booleanfalseFlag to use external zoom slider
maxEntries
number1000
options
EChartOptionSee [ECharts 5.x Documentation] https://echarts.apache.org/en/option.html for all available options.
palette
stringundefinedThe name of the color palette (if any) of the loaded theme .
renderer
("canvas" | "svg")'canvas'the renderer to use: canvas or svg
selectedItem
SelectedLegendItem{ legendItemName: '' }
series
SankeySeriesOption
showCustomLegend
booleanfalse
showLegend
booleantrue
subTitle
string
theme
anyThe desired theme to load.
themeCustomization
anyUsed to override specific options of loaded theme .
title
string
toolTip
booleanfalse
visibleEntries
number-1No auto dataZoom update) by default. Use together with autoZoomSeriesIndex .
visibleRange
number-1No auto dataZoom update) by default. Use together with autoZoomSeriesIndex .
zoomInside
booleanfalseEnables zooming inside the chart with the mouse wheel/touch.
zoomSlider
booleanfalseEnables the zoom slider below the chart.
zoomSliderBrush
booleantrueenable brush mode for zoom slider
zoomSliderRealtime
booleantruerealtime update mode for zoom slider
zoomSliderShadow
booleantrueShows data shadow in dataZoom slider, use together with zoomSlider .
showTimeRangeBar
Deprecated
booleanfalseIf true, add consumer-provided time range bar. Use together with zoomSlider .
Deprecated: The input will be removed in future versions as the time range bar slot is deprecated.

Output Properties

NameTypeDescription
chartGridResized
GridRectCoordinateEvent emitted when chart grid is resized.
chartSeriesClick
LegendItem
customLegendMultiLineInfoEvent
CustomLegendMultiLineInfo[]
dataZoom
DataZoomEventEvent emitted when data zoom changes.
pointer
AxisPointerEventEvent emitted when axis pointer moves.
selectionChanged
any
showLegendChange
boolean
timeRangeChange
numberEmitted when datazoom changes, indicating the time range in milliseconds, 0 for full range
visibleEntriesChange
numberNo auto dataZoom update) by default. Use together with autoZoomSeriesIndex .
visibleRangeChange
numberNo auto dataZoom update) by default. Use together with autoZoomSeriesIndex .

Attributes and Methods

NameTypeDefaultDescription
(readonly) chartContainerWrapper
Signal<ElementRef<any>>viewChild.required<​ElementRef​>('chartContainerWrapper')reference to the wrapper container. Used for setting scroll position, etc.
dispatchEChartAction(...)
(action: Payload) => voidSend action to echart.
See https://echarts.apache.org/en/api.html#action

Parameters
getOptionNoClone()
() => anyreturns the current EChart options, w/o cloning anything. Be very careful not to change anything in the data structure in it.
getSeriesColorBySeriesName(...)
(seriesName: string) => (undefined | string)Get color by series name.

Parameters
getVisibleRange()
() => (undefined | DataZoomEvent)Get current data zoom range.
refreshSeries(...)
(isLive: boolean = true, dzToSet: DataZoomRange) => voidRe-render the chart series data. This method should be called on series data changes.

Parameters
resetChart()
() => voidRe-render the whole chart.
resize()
() => voidAllow consuming applications to re-draw chart on window resizes.
setTimeRange(...)
(range: number) => voidSet the data zoom range for the chart in milliseconds. As an example one hour is the value 3600000.

Parameters
startProgressIndication()
() => voidShow loading indicator.
stopProgressIndication()
() => voidHide loading indicator.
toggleSeriesVisibility(...)
(name: string, visible: boolean) => voidToggle visibility of a series.

Parameters

Types Documentation

Index signature: [ key: string ]: any
Properties
dataZoom?: DataZoomComponentOption[]
grid?: (GridComponentOption | GridComponentOption[])
legend?: LegendComponentOption[]
series?: EChartSeries
("none" | "filter" | "weakFilter" | "empty")
Properties
end?: any
endValue?: any
start?: any
startValue?: any
visibleWidth?: any
Properties
legendItemName: string
Properties
containerHeight: number
containerWidth: number
height: number
width: number
x: number
y: number
Properties
color?: string
dataIndex: number
itemName: string
selected?: boolean
Properties
customLegendId: number
isCustomLegendMultilined: boolean
Properties
autoZoomUpdate?: boolean
rangeEnd: any
rangeStart: any
rangeType: AxisType
requested?: DataZoomRange
source?: string
width?: number
Properties
dataIndex?: number
seriesIndex?: number
imported from echarts
imported from echarts
Properties
backgroundColor?: ZRColor
borderColor?: ZRColor
borderWidth?: number
bottom?: (string | number) from BoxLayoutOptionMixin.bottom
containLabel?: boolean
height?: (string | number) from BoxLayoutOptionMixin.height
id?: OptionId from ComponentOption.id
left?: (string | number) from BoxLayoutOptionMixin.left
mainType?: "grid"
name?: OptionName from ComponentOption.name
right?: (string | number) from BoxLayoutOptionMixin.right
shadowBlur?: number from ShadowOptionMixin.shadowBlur
shadowColor?: string from ShadowOptionMixin.shadowColor
shadowOffsetX?: number from ShadowOptionMixin.shadowOffsetX
shadowOffsetY?: number from ShadowOptionMixin.shadowOffsetY
show?: boolean
tooltip?: any
top?: (string | number) from BoxLayoutOptionMixin.top
type?: string from ComponentOption.type
width?: (string | number) from BoxLayoutOptionMixin.width
z?: number from ComponentOption.z
zlevel?: number from ComponentOption.zlevel
("value" | "category" | "time" | "log")
Copyright (c) Siemens 2016 - 2025 SPDX-License-Identifier: MIT
Index signature: [ other: string ]: any
Properties
animation?: PayloadAnimationPart from PayloadItem.animation
batch?: PayloadItem[]
escapeConnect?: boolean
excludeSeriesId?: (OptionId | OptionId[]) from PayloadItem.excludeSeriesId
type: string
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
import
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts
imported from echarts

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