Basics
Siemens Industrial Experience provides a theme for the popular chart library ECharts. This lets you seamlessly integrate ECharts into the Siemens Industrial Experience design system.
ECharts is a third-party library distributed under Apache License 2.0.

Attributes
| Name | Description |
|---|---|
| Axes | Axes are used to display the data in a chart. They are the horizontal and vertical lines that form the chart's grid. Axes are labeled to indicate what data they represent. |
| Scale | Scales are used to map data values to a visual representation. The scale type is determined by the type of data being visualized. |
| Labels | Labels are used to describe the dimensions represented, often including units of measurement, e.g. “Distance traveled (m)”. |
| Grid lines | Grid lines help to visually align data points within the chart. |
| Legend | Legends explain the symbols, colors or patterns used in the chart to represent different data sets. You can toggle the visibility of the data series by clicking on the date in the legend. |
| Tooltip | Tooltips provide more details about data while hovering over the area. |
Installation
To install the Siemens Industrial Experience ECharts theme, follow the steps below:
npm install --save @siemens/ix-echarts
- Import the
registerThemefunction from our module. - Invoke this function, passing in your
echartsinstance as an argument. You do not need to provide theechartsinstance if it's provided globally in yourwindowobject when using vanilla Javascript. - Once this is done, you’ll be able to utilize the
brand-dark,brand-light,classic-darkandclassic-lightthemes for your chart.
import { registerTheme } from '@siemens/ix-echarts';
registerTheme(echarts);
For Angular, make sure to correctly add NgxEcharts in your module file.