Skip to content

SiMicrochartLineComponent documentation

import { SiMicrochartLineComponent } from '@siemens/native-charts-ng/microchart-line';

Input Properties

NameTypeDefaultDescription
height
number 24

Chart height in pixels.

lineWidth
number 2

Line width in pixels.

markerColor
string | undefined

Marker color token. If not provided, uses the series color token. Use a data-color. See: https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens

Example:

"si-sys-color-data-categorical-2"
seriesrequired
MicrochartLineSeries

Microchart line series. Example series can be:

Example:

Series: MicrochartLineSeries = { values: [2, 3, 6, 5, 4, 7, 8], colorToken: 'si-sys-color-data-categorical-10' };
showArea
boolean false

Sets whether the area under the chart line should be filled.

showMarkers
boolean false

Display circular markers at each data point on the line. When enabled, markers help highlight individual values and improve readability.

width
number 64

Chart width in pixels.

Types Documentation

import type { MicrochartLineSeries } from '@siemens/native-charts-ng/microchart-line';
Properties

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