# Gauge chart

**Gauge charts** are data visualization elements that represent one or more values as a position on a radial scale. They display a simple and concise value in comparison to a maximum and minimum limit.

Element provides two gauge components:

- **ECharts-based gauge chart** (`SiChartGaugeComponent`) — a full-featured gauge built on [ECharts](<https://echarts.apache.org/>), part of `@siemens/charts-ng`.
- **Native gauge chart** (`SiNChartGaugeComponent`) — a lightweight, dependency-free gauge, part of `@siemens/native-charts-ng`.

## Usage

Gauge charts are commonly used to display performance metrics, such as percentage completion, quality scores or to indicate real-time values like temperature or speed.

The chart can be accompanied by color coding to indicate different ranges or thresholds. The gauge shows the value and its position between the minimum and maximum, highlighted with a color that corresponds to the range the value currently falls into.

![Gauge chart](<../images/gauge-chart.png>)

### Best practices

- Ensure that the numeric scale used is clear and easy to understand. It's helpful to include the maximum and minimum values, as well as any threshold or target values.
- Color-coding is a useful way to indicate different ranges or thresholds. Choose colors that are meaningful in relation to the data being represented.
- Keep it simple. Gauge charts are best suited for displaying simple, straightforward data.
- If there is a need to represent a crucial system status (e.g: `danger`, `warning` or `caution`) provide additional visual cues, such as text labels or icons, to support accessibility.

### Choosing a gauge component

Both components cover the same basic use case — showing a value against a minimum/maximum range — but differ in features, dependencies and footprint.

Use the **ECharts-based gauge chart** when you rely on ECharts-specific configuration options and when the application already uses ECharts for other charts.

Use the **Native gauge chart** when bundle size or runtime performance is a concern, or when you need to visualize multiple stacked values within a single ring.

## Design

### ECharts-based gauge chart

A gauge chart displays data similar to a circle chart, but with a needle or dial to indicate where the data point(s) falls over a particular range.

![Gauge chart elements](<../images/gauge-chart-elements.png>)

> 1. Progress, 2. Qualitative Range (Optional), 3. Base, 4. Unit, 5. Value, 6. Scale (Optional)

### Native gauge chart

T.B.D

## Code

### ECharts-based gauge chart

> [!NOTE]
>
> **Required Packages**
>
> - [echarts](<https://www.npmjs.com/package/echarts>)

```
import { SiChartGaugeComponent } from '@siemens/charts-ng/gauge';

@Component({
  imports: [SiChartGaugeComponent, ...]
})
```

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component } from '@angular/core';
import { SiChartGaugeComponent } from '@siemens/charts-ng/gauge';
import { SiResizeObserverDirective } from '@siemens/element-ng/resize-observer';

@Component({
  selector: 'app-sample',
  imports: [SiChartGaugeComponent, SiResizeObserverDirective],
  templateUrl: './si-chart-gauge.html',
  host: { class: 'p-5' }
})
export class SampleComponent {
  additionalOptions = {
    tooltip: { formatter: '{c} kWh' }
  };
}
```

Template:

```html
<si-chart-gauge
  #chart
  class="background-1"
  style="height: 400px"
  title="Today's motivation level"
  unit="kWh"
  [minValue]="0"
  [maxValue]="100"
  [value]="45.345"
  [minNumberOfDecimals]="1"
  [maxNumberOfDecimals]="2"
  [axisNumberOfDecimals]="1"
  [splitSteps]="10"
  [additionalOptions]="additionalOptions"
  (siResizeObserver)="chart.resize()"
/>
```

### [SiChartGaugeComponent](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L33-L430>)

**Kind:** component

**Selector:** `si-chart-gauge`

```
import { SiChartGaugeComponent } from '@siemens/charts-ng/gauge';
```

```
component SiChartGaugeComponent extends SiChartBaseComponent implements OnChanges
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [additionalOptions](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L86-L86>) (inherited) | `EChartOption \| undefined` |  | Used to override specific properties set in `options`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [autoZoomSeriesIndex](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L165-L165>) (inherited) | `number` | `-1` | No auto dataZoom update) by default. Use together with `visibleEntries`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [axisNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L95-L95>) | `number` | `0` | Number of decimals on the axis. Possible values are from 0 to 100. |
| [axisPointer](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L181-L181>) (inherited) | `string \| boolean \| undefined` | `false` | Used to display `axisPointer` line either by click or mouse-move.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [colors](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L112-L112>) | `string[] \| undefined` |  | Colors for the defined segments. If there are less colors then segments, the colors will be repeated. Defaults to the standard color palette |
| [customLegendAction](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L205-L205>) (inherited) | `boolean \| undefined` |  | Enable custom legend click actions exposed by the `selectionChanged` event.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [dataZoomFilterMode](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L201-L201>) (inherited) | `FilterMode` | `'none'` | The data zoom filter mode. (see [https://echarts.apache.org/en/option.html\#dataZoom-inside.filterMode](<https://echarts.apache.org/en/option.html#dataZoom-inside.filterMode>))<br><br>The value 'filter' will cause the lines to be disconnected to the outside of the chart.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [dataZoomMaxValueSpan](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L193-L193>) (inherited) | `number \| undefined` |  | The upper limit of the data zoom slider (see [https://echarts.apache.org/en/option.html\#dataZoom-slider.maxValueSpan](<https://echarts.apache.org/en/option.html#dataZoom-slider.maxValueSpan>)).<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [dataZoomMinValueSpan](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L189-L189>) (inherited) | `number \| undefined` |  | The lower limit of the data zoom slider (see [https://echarts.apache.org/en/option.html\#dataZoom-slider.minValueSpan](<https://echarts.apache.org/en/option.html#dataZoom-slider.minValueSpan>)).<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [dataZoomRange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L185-L185>) (inherited) | `DataZoomRange \| undefined` |  | Apply a specific zoom range (see [https://echarts.apache.org/en/option.html\#dataZoom-inside](<https://echarts.apache.org/en/option.html#dataZoom-inside>)).<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [eChartContainerHeight](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L218-L218>) (inherited) | `string \| null \| undefined` |  | The height of the ECharts container as decimal.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [externalXAxisFormatter](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L226-L226>) (inherited) | `((value: any, visibleRange: number) => string) \| undefined` |  | External XAxis Formatter from consumer<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [externalZoomSlider](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L224-L224>) (inherited) | `boolean` | `false` | Flag to use external zoom slider<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [hideAxisLabels](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L100-L100>) | `boolean` | `false` | Whether to hide the gauge-axis labels. |
| [labelFormatter](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L71-L71>) | `((val: number) => string) \| undefined` |  | Custom formatter for axis labels. Takes precedence when specified, i.e. number of decimals, unit etc needs to be set by the user using this formatter. |
| [maxEntries](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L147-L147>) (inherited) | `number` | `1000` | Maximum number of series data points shown in the chart.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [maxNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L89-L89>) | `number` | `0` | Max number of decimals. Possible values are from 0 to 100. |
| [maxValue](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L43-L43>) | `number` | `100` | The highest value displayed on the gauge axis. |
| [minNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L83-L83>) | `number` | `0` | Min number of decimals. Possible values are from 0 to 100. |
| [minValue](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L38-L38>) | `number` | `0` | The lowest value displayed on the gauge axis. |
| [options](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L84-L84>) (inherited) | `EChartOption \| undefined` |  | See \[ECharts 5.x Documentation\][https://echarts.apache.org/en/option.html](<https://echarts.apache.org/en/option.html>) for all available options.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [palette](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L175-L175>) (inherited) | `string \| undefined` | `undefined` | The name of the color palette (if any) of the loaded `theme`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [renderer](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L109-L109>) (inherited) | `"canvas" \| "svg"` | `'canvas'` | the renderer to use: canvas or svg<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [responsiveSplitSteps](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L55-L55>) | `boolean` | `true` | Whether the number of gauge-axis intervals adapts to the component size. |
| [segments](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L107-L107>) | `number[]` | `[0.2, 0.8, 1]` | Segments on the arc from 0 (implicit) to 1 (explicit) E.g. 0.2 means from 0 to 0.2 of the possible range (maxValue - minValue) |
| [selectedItem](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L214-L214>) (inherited) | `SelectedLegendItem` | `{ legendItemName: '' }` | Specify selected legend item.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [showCustomLegend](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L103-L103>) (inherited) | `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.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [showLegend](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L96-L96>) (inherited) | `boolean` | `true` | Show Echarts legend<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [showTimeRangeBar](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L233-L233>) (inherited, deprecated) | `boolean` | `false` | If true, add consumer-provided time range bar. Use together with `zoomSlider`.<br><br>Deprecated: The input will be removed in future versions as the time range bar slot is deprecated.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [splitSteps](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L50-L50>) | `number \| undefined` |  | The number of intervals displayed on the gauge axis. |
| [subTitle](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L90-L90>) (inherited) | `string \| undefined` |  | The subtitle of the chart.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [theme](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L167-L167>) (inherited) | `any` |  | The desired theme to load.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [themeCustomization](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L169-L169>) (inherited) | `any` |  | Used to override specific options of loaded `theme`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [title](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L88-L88>) (inherited) | `string \| undefined` |  | The title of the chart.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [unit](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L60-L60>) | `string` | `'%'` | The unit displayed with the gauge value. |
| [unitsOnSplit](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L65-L65>) | `boolean` | `false` | Whether to display the unit on gauge-axis labels. |
| [value](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L48-L48>) | `number` | `0` | The value displayed by the gauge. |
| [valueFormatter](<https://github.com/siemens/element/blob/main/projects/charts-ng/gauge/si-chart-gauge.component.ts#L77-L77>) | `((val: number) => string) \| undefined` |  | Custom formatter for value. Takes precedence when specified, i.e. number of decimals needs to be set by the user using this formatter. |
| [visibleEntries](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L153-L153>) (inherited) | `number` | `-1` | No auto dataZoom update) by default. Use together with `autoZoomSeriesIndex`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [visibleRange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L159-L159>) (inherited) | `number` | `-1` | No auto dataZoom update) by default. Use together with `autoZoomSeriesIndex`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [zoomInside](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L141-L141>) (inherited) | `boolean` | `false` | Enables zooming inside the chart with the mouse wheel/touch.<br><br>Whether zooming inside the chart is possible with mouse.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [zoomSlider](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L115-L115>) (inherited) | `boolean` | `false` | Enables the zoom slider below the chart.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [zoomSliderBrush](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L133-L133>) (inherited) | `boolean` | `true` | enable brush mode for zoom slider<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [zoomSliderRealtime](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L127-L127>) (inherited) | `boolean` | `true` | realtime update mode for zoom slider<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [zoomSliderShadow](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L121-L121>) (inherited) | `boolean` | `true` | Shows data shadow in dataZoom slider, use together with `zoomSlider`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [chartGridResized](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L244-L244>) (inherited) | `GridRectCoordinate` | Event emitted when chart grid is resized.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [chartSeriesClick](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L242-L242>) (inherited) | `LegendItem` | Event emitted when a chart series is clicked.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [customLegendMultiLineInfoEvent](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L246-L246>) (inherited) | `CustomLegendMultiLineInfo[]` | Event emitted when custom legend multi-line info changes.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [dataZoom](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L236-L236>) (inherited) | `DataZoomEvent` | Event emitted when data zoom changes.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [pointer](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L238-L238>) (inherited) | `AxisPointerEvent` | Event emitted when axis pointer moves.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [selectionChanged](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L240-L240>) (inherited) | `any` | Event emitted when selection changes e.g. clicking on a legend item.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [showLegendChange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L96-L96>) (inherited) | `boolean` | Show Echarts legend<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [timeRangeChange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L248-L248>) (inherited) | `number` | Emitted when data zoom changes, indicating the time range in milliseconds, 0 for full range<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [visibleEntriesChange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L153-L153>) (inherited) | `number` | No auto dataZoom update) by default. Use together with `autoZoomSeriesIndex`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |
| [visibleRangeChange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L159-L159>) (inherited) | `number` | No auto dataZoom update) by default. Use together with `autoZoomSeriesIndex`.<br><br>Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>) |

#### Attributes and Methods

##### startProgressIndication

[Source for startProgressIndication](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L1899-L1901>)

**Modifiers:** inherited

Show loading indicator.

Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>)

```
startProgressIndication(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### stopProgressIndication

[Source for stopProgressIndication](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart-base.component.ts#L1906-L1908>)

**Modifiers:** inherited

Hide loading indicator.

Inherited from [SiChartBaseComponent](<../../../api/siemens/charts-ng/components/SiChartBaseComponent/index.html#SiChartBaseComponent>)

```
stopProgressIndication(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### Native gauge chart

```
import { SiNChartGaugeComponent } from '@siemens/native-charts-ng/gauge';

@Component({
  imports: [SiNChartGaugeComponent, ...]
})
```

#### Sum mode

Multiple series arcs are stacked on the gauge ring. The center shows their combined total.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { SiFormItemComponent } from '@siemens/element-ng/form';
import { SiNumberInputComponent } from '@siemens/element-ng/number-input';
import { LOG_EVENT } from '@siemens/live-preview';
import { GaugeSeries, SiNChartGaugeComponent } from '@siemens/native-charts-ng/gauge';

@Component({
  selector: 'app-sample',
  imports: [FormsModule, SiFormItemComponent, SiNumberInputComponent, SiNChartGaugeComponent],
  templateUrl: './si-nchart-gauge.html',
  host: {
    class: 'p-5'
  }
})
export class SampleComponent {
  readonly logEvent = inject(LOG_EVENT);
  angle = 90;
  range = 200;
  unit = 'KWh';
  showTicks = true;
  minDecimals = 0;
  maxDecimals = 2;
  axisDecimals = 0;
  showLegend = true;
  legendPosition: 'column' | 'row' = 'row';
  showRangeLabelsOutside = false;

  series: GaugeSeries[] = [
    { name: 'Series 1', value: 50.456, colorToken: 'si-sys-color-data-categorical-5' },
    {
      name: 'Series 2',
      value: 100.123,
      colorToken: 'si-sys-color-data-categorical-15',
      description: 'Optional description'
    }
  ];

  setValues(val1: number, val2: number): void {
    this.series[0].value = val1;
    this.series[1].value = val2;
    this.series = this.series.slice();
  }
}
```

Template:

```html
<div class="card" [style]="legendPosition === 'column' ? 'max-inline-size: 350px' : ''">
  <div class="card-header">Energy consumption and production</div>
  <div class="card-body">
    <si-nchart-gauge
      [style]="legendPosition !== 'column' ? 'block-size: 250px' : ''"
      [series]="series"
      [startAngle]="-angle"
      [endAngle]="angle"
      [min]="-range"
      [max]="range"
      [unit]="unit"
      [minNumberOfDecimals]="minDecimals"
      [maxNumberOfDecimals]="maxDecimals"
      [axisNumberOfDecimals]="axisDecimals"
      [legendPosition]="legendPosition"
      [showLegend]="showLegend"
      [showTicks]="showTicks"
      [showRangeLabelsOutside]="showRangeLabelsOutside"
    />
  </div>
</div>

<div class="e2e-ignore card mt-6">
  <div class="card-body row align-items-end">
    <div class="col-sm-4">
      <si-form-item label="Angle">
        <si-number-input
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [step]="10"
          [(ngModel)]="angle"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Value range">
        <si-number-input
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [step]="10"
          [(ngModel)]="range"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Unit">
        <input
          type="text"
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="unit"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Min. decimals">
        <si-number-input
          required
          class="form-control"
          [min]="0"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="minDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Max. decimals">
        <si-number-input
          required
          class="form-control"
          [min]="0"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="maxDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Num. axis decimals">
        <si-number-input
          required
          class="form-control"
          [min]="0"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="axisDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Legend position">
        <select
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="legendPosition"
        >
          <option value="column">In a column</option>
          <option value="row">In a row</option>
        </select>
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show legend">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showLegend"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show ticks">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showTicks"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show range labels outside">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showRangeLabelsOutside"
        />
      </si-form-item>
    </div>
    <div class="col-sm-12 d-flex mt-5 gap-4">
      <button type="button" class="btn btn-secondary" (click)="setValues(50, 100)">
        Positive - Positive
      </button>
      <button type="button" class="btn btn-secondary" (click)="setValues(-50, 100)">
        Negative - Positive
      </button>
      <button type="button" class="btn btn-secondary" (click)="setValues(-50, -100)">
        Negative - Negative
      </button>
    </div>
  </div>
</div>
```

#### Single mode

A single arc covers the ring. Colored background segments can be layered beneath the arc to indicate qualitative ranges.

#### Example

Component:

```typescript
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component, inject } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { SiFormItemComponent } from '@siemens/element-ng/form';
import { SiNumberInputComponent } from '@siemens/element-ng/number-input';
import { LOG_EVENT } from '@siemens/live-preview';
import { GaugeSegment, GaugeSeries, SiNChartGaugeComponent } from '@siemens/native-charts-ng/gauge';

@Component({
  selector: 'app-sample',
  imports: [FormsModule, SiFormItemComponent, SiNumberInputComponent, SiNChartGaugeComponent],
  templateUrl: './si-nchart-gauge-single.html',
  host: {
    class: 'p-5'
  }
})
export class SampleComponent {
  readonly logEvent = inject(LOG_EVENT);
  readonly segments: GaugeSegment[] = [
    { colorToken: 'si-sys-color-data-rating-excellent', endValue: 400 },
    { colorToken: 'si-sys-color-data-rating-good', endValue: 600 },
    { colorToken: 'si-sys-color-data-rating-average', endValue: 900 },
    { colorToken: 'si-sys-color-data-rating-bad', endValue: 1200 },
    { colorToken: 'si-sys-color-background-critical', endValue: 1500 }
  ];
  showTicks = true;
  minDecimals = 0;
  maxDecimals = 2;
  axisDecimals = 0;
  markerValue: number | undefined;
  showRangeLabelsOutside = false;
  showSegments = true;

  private lastMarkerValue = 750;

  series: GaugeSeries[] = [
    { name: 'Series 1', value: 350, colorToken: 'si-sys-color-data-categorical-5' }
  ];

  setValues(val1: number): void {
    this.series[0].value = val1;
    this.series = this.series.slice();
  }

  setMarkerEnabled(enabled: boolean): void {
    if (enabled) {
      this.markerValue = this.lastMarkerValue;
    } else {
      this.lastMarkerValue = this.markerValue ?? this.lastMarkerValue;
      this.markerValue = undefined;
    }
  }
}
```

Template:

```html
<div class="card">
  <div class="card-header">Single value gauge with segments</div>
  <div class="card-body">
    <si-nchart-gauge
      mode="single"
      unit="ppm"
      style="block-size: 250px"
      [segments]="showSegments ? segments : []"
      [series]="series"
      [startAngle]="-90"
      [endAngle]="90"
      [min]="300"
      [max]="1500"
      [markerValue]="markerValue"
      [minNumberOfDecimals]="minDecimals"
      [maxNumberOfDecimals]="maxDecimals"
      [axisNumberOfDecimals]="axisDecimals"
      [showLegend]="false"
      [showTicks]="showTicks"
      [showRangeLabelsOutside]="showRangeLabelsOutside"
    />
  </div>
</div>

<div class="e2e-ignore card mt-6">
  <div class="card-body row align-items-end">
    <div class="col-sm-4">
      <si-form-item label="Min. decimals">
        <si-number-input
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="minDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Max. decimals">
        <si-number-input
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="maxDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Num. axis decimals">
        <si-number-input
          required
          class="form-control"
          [ngModelOptions]="{ standalone: true }"
          [step]="1"
          [(ngModel)]="axisDecimals"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Marker value">
        <div class="d-flex align-items-center gap-4">
          <input
            type="checkbox"
            class="form-check-input flex-shrink-0"
            aria-label="Enable marker"
            [ngModel]="markerValue !== undefined"
            [ngModelOptions]="{ standalone: true }"
            (ngModelChange)="setMarkerEnabled($event)"
          />
          <si-number-input
            required
            class="form-control"
            [disabled]="markerValue === undefined"
            [ngModelOptions]="{ standalone: true }"
            [(ngModel)]="markerValue"
          />
        </div>
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show ticks">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showTicks"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show range labels outside">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showRangeLabelsOutside"
        />
      </si-form-item>
    </div>
    <div class="col-sm-4">
      <si-form-item label="Show segments">
        <input
          type="checkbox"
          class="form-check-input"
          [ngModelOptions]="{ standalone: true }"
          [(ngModel)]="showSegments"
        />
      </si-form-item>
    </div>
    <div class="col-sm-12 d-flex mt-5 gap-4">
      <button type="button" class="btn btn-secondary" (click)="setValues(350)">Value 350</button>
      <button type="button" class="btn btn-secondary" (click)="setValues(700)">Value 700</button>
      <button type="button" class="btn btn-secondary" (click)="setValues(1000)">Value 1000</button>
      <button type="button" class="btn btn-secondary" (click)="setValues(1500)">Value 1500</button>
    </div>
  </div>
</div>
```

### [SiNChartGaugeComponent](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L85-L471>)

**Kind:** component

**Selector:** `si-nchart-gauge`

```
import { SiNChartGaugeComponent } from '@siemens/native-charts-ng/gauge';
```

```
component SiNChartGaugeComponent implements OnInit, OnChanges
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [axisLabelFormatter](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L163-L163>) | `((val: number) => string) \| undefined` |  | Custom formatter for axis labels. Takes precedence when specified, i.e. number of decimals needs to be set by the user using this formatter. |
| [axisNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L157-L157>) | `number` | `0` | Number of decimals on the axis. Possible values are from 0 to 100. |
| [endAngle](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L97-L97>) | `number` | `90` | End angle in degrees |
| [legendPosition](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L191-L191>) | `"row" \| "column"` | `'row'` | Legend position:<br><br>• `column`: chart and legend form a column, i.e. the legend is below the chart. The chart size is driven by the available width.<br><br>• `row`: chart and legend form a row, i.e. the legend is besides the chart. The The chart size is driven by the available height. |
| [markerValue](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L133-L133>) | `number \| undefined` |  | Optional value displayed as a marker bar across the value arc. |
| [max](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L110-L110>) | `number` | `100` | Max value, can be negative |
| [maxNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L151-L151>) | `number` | `2` | Max number of decimals. Possible values are from 0 to 100. |
| [min](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L104-L104>) | `number` | `-100` | Min value, can be negative |
| [minNumberOfDecimals](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L145-L145>) | `number` | `0` | Min number of decimals. Possible values are from 0 to 100. |
| [mode](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L117-L117>) | `"sum" \| "single"` | `'sum'` | Display mode: `sum` to sum up multiple series or `single` for a single value with optional segmented display. |
| [segments](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L129-L129>) | `GaugeSegment[]` | `[]` | Colored segments. |
| [series](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L123-L123>) | `GaugeSeries[]` | `[]` | The series for the chart. |
| [showLegend](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L181-L181>) | `boolean` | `true` | Whether to show the legend |
| [showRangeLabelsOutside](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L197-L197>) | `boolean` | `false` | Whether to show range start/end labels on the outside of the ring |
| [showTicks](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L175-L175>) | `boolean` | `true` | Whether to show ticks |
| [startAngle](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L91-L91>) | `number` | `-90` | Start angle in degrees |
| [unit](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L139-L139>) | `string` | `''` | Unit |
| [valueFormatter](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L169-L169>) | `((val: number) => string) \| undefined` |  | Custom formatter for value. Takes precedence when specified, i.e. number of decimals needs to be set by the user using this formatter. |

### Types Documentation

### [DataZoomRange](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L55-L61>)

**Kind:** interface

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

```
interface DataZoomRange
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [end](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L60-L60>) (optional) | `number` |  |
| [endValue](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L57-L57>) (optional) | `string \| number \| Date` |  |
| [start](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L59-L59>) (optional) | `number` |  |
| [startValue](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L56-L56>) (optional) | `string \| number \| Date` |  |
| [visibleWidth](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L58-L58>) (optional) | `number` |  |

### [EChartOption](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L78-L84>)

**Kind:** interface

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

```
interface EChartOption
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [dataZoom](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L80-L80>) (optional) | `DataZoomComponentOption[]` |  |
| [grid](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L81-L81>) (optional) | `GridComponentOption \| GridComponentOption[]` |  |
| [legend](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L79-L79>) (optional) | `LegendComponentOption[]` |  |
| [series](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L82-L82>) (optional) | `EChartSeries` |  |

#### Index Signatures

| Name | Type | Description |
| --- | --- | --- |
| [\[key: string\]](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L83-L83>) | `any` |  |

### [FilterMode](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L9-L9>)

**Kind:** type alias

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

```
type FilterMode = 'none' | 'filter' | 'weakFilter' | 'empty'
```

### [GaugeSegment](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L45-L50>)

**Kind:** interface

```
import type { GaugeSegment } from '@siemens/native-charts-ng/gauge';
```

One segment of the gauge chart. The first segment starts at the `min` value of the gauge chart and ends at `endValue`.

```
interface GaugeSegment
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [colorToken](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L47-L47>) | `string` | color token for this segment. |
| [endValue](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L49-L49>) | `number` | end value for this segment, exclusive except for last segment where it's inclusive |

### [GaugeSeries](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L28-L39>)

**Kind:** interface

```
import type { GaugeSeries } from '@siemens/native-charts-ng/gauge';
```

One series of the gauge chart.

```
interface GaugeSeries
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [colorToken](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L32-L32>) | `string` | color token |
| [description](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L36-L36>) (optional) | `string` | Optional description line in legend |
| [id](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L38-L38>) (optional) | `string` | ID exposed as `data-id` |
| [name](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L34-L34>) | `string` | name displayed in legend |
| [value](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/gauge/si-nchart-gauge.component.ts#L30-L30>) | `number` | value |

### [SelectedLegendItem](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L81-L83>)

**Kind:** interface

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

```
interface SelectedLegendItem
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [legendItemName](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L82-L82>) | `string` |  |

### [AxisPointerEvent](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L50-L53>)

**Kind:** interface

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

```
interface AxisPointerEvent
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [dataIndex](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L52-L52>) (optional) | `number` |  |
| [seriesIndex](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L51-L51>) (optional) | `number` |  |

### [CustomLegendMultiLineInfo](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L101-L104>)

**Kind:** interface

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

```
interface CustomLegendMultiLineInfo
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [customLegendId](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L102-L102>) | `number` |  |
| [isCustomLegendMultilined](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L103-L103>) | `boolean` |  |

### [DataZoomEvent](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L63-L71>)

**Kind:** interface

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

```
interface DataZoomEvent
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [autoZoomUpdate](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L68-L68>) (optional) | `boolean` |  |
| [rangeEnd](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L66-L66>) | `number` |  |
| [rangeStart](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L65-L65>) | `number` |  |
| [rangeType](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L64-L64>) | `AxisType` |  |
| [requested](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L69-L69>) (optional) | `DataZoomRange` |  |
| [source](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L70-L70>) (optional) | `string` |  |
| [width](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L67-L67>) (optional) | `number` |  |

### [GridRectCoordinate](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L92-L99>)

**Kind:** interface

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

```
interface GridRectCoordinate
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [containerHeight](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L98-L98>) | `number` |  |
| [containerWidth](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L97-L97>) | `number` |  |
| [height](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L96-L96>) | `number` |  |
| [width](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L95-L95>) | `number` |  |
| [x](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L93-L93>) | `number` |  |
| [y](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L94-L94>) | `number` |  |

### [LegendItem](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L85-L90>)

**Kind:** interface

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

```
interface LegendItem
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [color](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L89-L89>) (optional) | `string` |  |
| [dataIndex](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L87-L87>) | `number` |  |
| [itemName](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L86-L86>) | `string` |  |
| [selected](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L88-L88>) (optional) | `boolean` |  |

### LegendComponentOption

**Kind:** type alias

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

```
type LegendComponentOption = LegendOption | ScrollableLegendOption
```

### DataZoomComponentOption

**Kind:** type alias

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

```
type DataZoomComponentOption = SliderDataZoomOption | InsideDataZoomOption
```

### GridComponentOption

**Kind:** interface

**Alias of:** `GridOption`

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

```
interface GridComponentOption extends ComponentOption, ComponentOnCalendarOptionMixin, ComponentOnMatrixOptionMixin, BoxLayoutOptionMixin, ShadowOptionMixin
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| backgroundColor (optional) | `ZRColor` |  |
| borderColor (optional) | `ZRColor` |  |
| borderWidth (optional) | `number` |  |
| bottom (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| calendarId (optional, inherited) | `OptionId` | Inherited from [ComponentOnCalendarOptionMixin](<https://echarts.apache.org>) |
| calendarIndex (optional, inherited) | `number` | Inherited from [ComponentOnCalendarOptionMixin](<https://echarts.apache.org>) |
| containLabel (optional, deprecated) | `boolean` | Deprecated: Use `grid.outerBounds` instead. 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 (optional, inherited) | `CoordinateSystemDataCoord` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| coordinateSystem (optional, inherited) | `string` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| coordinateSystemUsage (optional, inherited) | `CoordinateSystemUsageOption` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| height (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| id (optional, inherited) | `OptionId` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| left (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| mainType (optional) | `"grid"` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| matrixId (optional, inherited) | `OptionId` | Inherited from [ComponentOnMatrixOptionMixin](<https://echarts.apache.org>) |
| matrixIndex (optional, inherited) | `number` | Inherited from [ComponentOnMatrixOptionMixin](<https://echarts.apache.org>) |
| name (optional, inherited) | `OptionName` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| outerBounds (optional) | `BoxLayoutOptionMixin` | {left, right, top, bottom, width, height}: Define a outerBounds rect, based on:<br><br>• the canvas by default.<br><br>• or the `dataToLayout` result if a `boxCoordinateSystem` is specified. |
| outerBoundsClampHeight (optional) | `string \| number` |  |
| outerBoundsClampWidth (optional) | `string \| number` | Available only when `outerBoundsMode` is 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 by `grid.top/right/bottom/left/width/height`. |
| outerBoundsContain (optional) | `"auto" \| "all" \| NullUndefined$1 \| "axisLabel"` | • 'all': Default. Contains the cartesian rect and axis labels and axis name.<br><br>• 'axisLabel': Contains the cartesian rect and axis labels. This effect differs slightly from the previous option `containLabel` but more precise.<br><br>• 'auto'/null/undefined: Default. be 'axisLabel' if `containLabel:true`, otherwise 'all'. |
| outerBoundsMode (optional) | `"auto" \| "none" \| NullUndefined$1 \| "same"` | 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.<br><br>Options:<br><br>• 'none': outerBounds is infinity.<br><br>• 'same': outerBounds is the same as the layout rect defined by `grid.left/right/top/bottom/width/height`.<br><br>• 'auto'/null/undefined: Default. Use `outerBounds`, or 'same' if `containLabel:true`.<br><br>Note: `grid.containLabel` is equivalent to `{outerBoundsMode: 'same', outerBoundsContain: 'axisLabel'}`. |
| right (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| shadowBlur (optional, inherited) | `number` | Inherited from [ShadowOptionMixin](<https://echarts.apache.org>) |
| shadowColor (optional, inherited) | `string` | Inherited from [ShadowOptionMixin](<https://echarts.apache.org>) |
| shadowOffsetX (optional, inherited) | `number` | Inherited from [ShadowOptionMixin](<https://echarts.apache.org>) |
| shadowOffsetY (optional, inherited) | `number` | Inherited from [ShadowOptionMixin](<https://echarts.apache.org>) |
| show (optional) | `boolean` |  |
| tooltip (optional) | `any` |  |
| top (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| type (optional, inherited) | `string` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| width (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| z (optional, inherited) | `number` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| zlevel (optional, inherited) | `number` | Inherited from [ComponentOption](<https://echarts.apache.org>) |

### [EChartSeries](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L47-L47>)

**Kind:** type alias

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

```
type EChartSeries = EChartSeriesOption[]
```

### [AxisType](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/si-chart.interfaces.ts#L6-L6>)

**Kind:** type alias

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

```
type AxisType = 'value' | 'category' | 'time' | 'log'
```

### [EChartSeriesOption](<https://github.com/siemens/element/blob/main/projects/charts-ng/common/echarts.model.ts#L33-L45>)

**Kind:** type alias

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

```
type EChartSeriesOption = | BarSeriesOption
  | CandlestickSeriesOption
  | CustomSeriesOption
  | GaugeSeriesOption
  | HeatmapSeriesOption
  | LineSeriesOption
  | PieSeriesOption
  | ScatterSeriesOption
  | SankeySeriesOption
  | SunburstSeriesOption
  | never
```

### BarSeriesOption

**Kind:** type alias

**Alias of:** `BarSeriesOption$1`

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

```
type BarSeriesOption = BarSeriesOption & SeriesInjectedOption
```

### CandlestickSeriesOption

**Kind:** type alias

**Alias of:** `CandlestickSeriesOption$1`

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

```
type CandlestickSeriesOption = CandlestickSeriesOption & SeriesInjectedOption
```

### CustomSeriesOption

**Kind:** type alias

**Alias of:** `CustomSeriesOption$1`

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

```
type CustomSeriesOption = CustomSeriesOption & SeriesInjectedOption
```

### GaugeSeriesOption

**Kind:** type alias

**Alias of:** `GaugeSeriesOption$1`

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

```
type GaugeSeriesOption = GaugeSeriesOption & SeriesInjectedOption
```

### HeatmapSeriesOption

**Kind:** type alias

**Alias of:** `HeatmapSeriesOption$1`

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

```
type HeatmapSeriesOption = HeatmapSeriesOption & SeriesInjectedOption
```

### LineSeriesOption

**Kind:** type alias

**Alias of:** `LineSeriesOption$1`

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

```
type LineSeriesOption = LineSeriesOption & SeriesInjectedOption
```

### PieSeriesOption

**Kind:** type alias

**Alias of:** `PieSeriesOption$1`

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

```
type PieSeriesOption = PieSeriesOption & SeriesInjectedOption
```

### ScatterSeriesOption

**Kind:** type alias

**Alias of:** `ScatterSeriesOption$1`

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

```
type ScatterSeriesOption = ScatterSeriesOption & SeriesInjectedOption
```

### SankeySeriesOption

**Kind:** type alias

**Alias of:** `SankeySeriesOption$1`

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

```
type SankeySeriesOption = SankeySeriesOption & SeriesInjectedOption
```

### SunburstSeriesOption

**Kind:** type alias

**Alias of:** `SunburstSeriesOption$1`

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

```
type SunburstSeriesOption = SunburstSeriesOption & SeriesInjectedOption
```
