Skip to content

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, 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

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.


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