Progress chart¶
Progress charts are a graphical representation of progress towards a specific goal or metric.
Usage¶
This chart displays the progress made toward a certain goal. It allows to monitor objectives, providing critical data for strategic decision-making and more.
Bar chart representation¶
A progress charts chart uses a linear format to represent progress, typically as a bar that grows from left to right. This type of chart works better for layouts that take more horizontal space.
Consider using it when there is a need to display detailed information, such as specific values or long labels, as this information can be displayed alongside the bar.

Radial chart representation¶
This variation of the chart shows the amount of progress made as a portion of a circle. Use it to display data in a compact and visually appealing way, and to save space on a dashboard or report.
Consider using it to show a general representation of progress, without too many details.
The chart can be configured to be a 360° circle or an arc.

Best practices¶
- The default arc angle is
220°. If needed, it can also be configured to360°,90°or270°. - Take the context into consideration when selecting colors. Use colors that are a good match and represent the situation.
- Don't use it if the end of the progress cannot be determined.
- Don't layer more than 4 arcs on the same chart.
- Provide context by including labels or annotations that explain what the chart represents.
Code¶
Usage¶
Required Packages
import { SiChartProgressComponent } from '@siemens/charts-ng/progress';
@Component({
imports: [SiChartProgressComponent, ...]
})
Progress chart¶
A progress chart displays data values as a simple progress bar shown with arcs instead of bars. Every arc is used to visualize the progression of an item.
import { SiChartProgressComponent } from '@siemens/charts-ng/progress'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| additionalOptions inherited ¶ | EChartOption | undefined | Used to override specific properties set in Inherited from SiChartBaseComponent | |
| autoZoomSeriesIndex inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| axisPointer inherited ¶ | string | boolean | undefined | false | Used to display Inherited from SiChartBaseComponent |
| customLegendAction inherited ¶ | boolean | undefined | Enable custom legend click actions exposed by the Inherited from SiChartBaseComponent | |
| dataAngle ¶ | number | 220 | How big the data can get in degrees. |
| dataZoomFilterMode inherited ¶ | FilterMode | 'none' | The data zoom filter mode. (see https://echarts.apache.org/en/option.html#dataZoom-inside.filterMode) The value 'filter' will cause the lines to be disconnected to the outside of the chart. Inherited from SiChartBaseComponent |
| dataZoomMaxValueSpan inherited ¶ | number | undefined | The upper limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.maxValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomMinValueSpan inherited ¶ | number | undefined | The lower limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.minValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomRange inherited ¶ | DataZoomRange | undefined | Apply a specific zoom range (see https://echarts.apache.org/en/option.html#dataZoom-inside). Inherited from SiChartBaseComponent | |
| eChartContainerHeight inherited ¶ | string | null | undefined | The height of the ECharts container as decimal. Inherited from SiChartBaseComponent | |
| externalXAxisFormatter inherited ¶ | ((value: any, visibleRange: number) => string) | undefined | External XAxis Formatter from consumer Inherited from SiChartBaseComponent | |
| externalZoomSlider inherited ¶ | boolean | false | Flag to use external zoom slider Inherited from SiChartBaseComponent |
| maxEntries inherited ¶ | number | 1000 | Maximum number of series data points shown in the chart. Inherited from SiChartBaseComponent |
| options inherited ¶ | EChartOption | undefined | See [ECharts 5.x Documentation]https://echarts.apache.org/en/option.html for all available options. Inherited from SiChartBaseComponent | |
| palette inherited ¶ | string | undefined | undefined | The name of the color palette (if any) of the loaded Inherited from SiChartBaseComponent |
| renderer inherited ¶ | "canvas" | "svg" | 'canvas' | the renderer to use: canvas or svg Inherited from SiChartBaseComponent |
| selectedItem inherited ¶ | SelectedLegendItem | { legendItemName: '' } | Specify selected legend item. Inherited from SiChartBaseComponent |
| series ¶ | ProgressChartSeries[] | undefined | The series for the chart. | |
| showCustomLegend 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. Inherited from SiChartBaseComponent |
| showLegend inherited ¶ | boolean | true | Show Echarts legend Inherited from SiChartBaseComponent |
| showTimeRangeBar inherited deprecated ¶ | boolean | false | If true, add consumer-provided time range bar. Use together with Deprecated: The input will be removed in future versions as the time range bar slot is deprecated. Inherited from SiChartBaseComponent |
| subTitle inherited ¶ | string | undefined | The subtitle of the chart. Inherited from SiChartBaseComponent | |
| theme inherited ¶ | any | The desired theme to load. Inherited from SiChartBaseComponent | |
| themeCustomization inherited ¶ | any | Used to override specific options of loaded Inherited from SiChartBaseComponent | |
| title inherited ¶ | string | undefined | The title of the chart. Inherited from SiChartBaseComponent | |
| visibleEntries inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRange inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| zoomInside inherited ¶ | boolean | false | Enables zooming inside the chart with the mouse wheel/touch. Whether zooming inside the chart is possible with mouse. Inherited from SiChartBaseComponent |
| zoomSlider inherited ¶ | boolean | false | Enables the zoom slider below the chart. Inherited from SiChartBaseComponent |
| zoomSliderBrush inherited ¶ | boolean | true | enable brush mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderRealtime inherited ¶ | boolean | true | realtime update mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderShadow inherited ¶ | boolean | true | Shows data shadow in dataZoom slider, use together with Inherited from SiChartBaseComponent |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| chartGridResized inherited ¶ | GridRectCoordinate | Event emitted when chart grid is resized. Inherited from SiChartBaseComponent |
| chartSeriesClick inherited ¶ | LegendItem | Event emitted when a chart series is clicked. Inherited from SiChartBaseComponent |
| customLegendMultiLineInfoEvent inherited ¶ | CustomLegendMultiLineInfo[] | Event emitted when custom legend multi-line info changes. Inherited from SiChartBaseComponent |
| dataZoom inherited ¶ | DataZoomEvent | Event emitted when data zoom changes. Inherited from SiChartBaseComponent |
| pointer inherited ¶ | AxisPointerEvent | Event emitted when axis pointer moves. Inherited from SiChartBaseComponent |
| selectionChanged inherited ¶ | any | Event emitted when selection changes e.g. clicking on a legend item. Inherited from SiChartBaseComponent |
| showLegendChange inherited ¶ | boolean | Show Echarts legend Inherited from SiChartBaseComponent |
| timeRangeChange inherited ¶ | number | Emitted when data zoom changes, indicating the time range in milliseconds, 0 for full range Inherited from SiChartBaseComponent |
| visibleEntriesChange inherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRangeChange inherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| startProgressIndication() inherited ¶ | () => void | Show loading indicator. Inherited from SiChartBaseComponent |
| stopProgressIndication() inherited ¶ | () => void | Hide loading indicator. Inherited from SiChartBaseComponent |
Progress bar chart¶
A more traditional progress chart using horizontal bars.
import { SiChartProgressBarComponent } from '@siemens/charts-ng/progress-bar'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| additionalOptions inherited ¶ | EChartOption | undefined | Used to override specific properties set in Inherited from SiChartBaseComponent | |
| autoZoomSeriesIndex inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| axisPointer inherited ¶ | string | boolean | undefined | false | Used to display Inherited from SiChartBaseComponent |
| customLegendAction inherited ¶ | boolean | undefined | Enable custom legend click actions exposed by the Inherited from SiChartBaseComponent | |
| dataZoomFilterMode inherited ¶ | FilterMode | 'none' | The data zoom filter mode. (see https://echarts.apache.org/en/option.html#dataZoom-inside.filterMode) The value 'filter' will cause the lines to be disconnected to the outside of the chart. Inherited from SiChartBaseComponent |
| dataZoomMaxValueSpan inherited ¶ | number | undefined | The upper limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.maxValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomMinValueSpan inherited ¶ | number | undefined | The lower limit of the data zoom slider (see https://echarts.apache.org/en/option.html#dataZoom-slider.minValueSpan). Inherited from SiChartBaseComponent | |
| dataZoomRange inherited ¶ | DataZoomRange | undefined | Apply a specific zoom range (see https://echarts.apache.org/en/option.html#dataZoom-inside). Inherited from SiChartBaseComponent | |
| eChartContainerHeight inherited ¶ | string | null | undefined | The height of the ECharts container as decimal. Inherited from SiChartBaseComponent | |
| externalXAxisFormatter inherited ¶ | ((value: any, visibleRange: number) => string) | undefined | External XAxis Formatter from consumer Inherited from SiChartBaseComponent | |
| externalZoomSlider inherited ¶ | boolean | false | Flag to use external zoom slider Inherited from SiChartBaseComponent |
| labelPosition ¶ | string | undefined | Used to display the label in inline or above the progress-bar. | |
| maxEntries inherited ¶ | number | 1000 | Maximum number of series data points shown in the chart. Inherited from SiChartBaseComponent |
| options inherited ¶ | EChartOption | undefined | See [ECharts 5.x Documentation]https://echarts.apache.org/en/option.html for all available options. Inherited from SiChartBaseComponent | |
| palette inherited ¶ | string | undefined | undefined | The name of the color palette (if any) of the loaded Inherited from SiChartBaseComponent |
| renderer inherited ¶ | "canvas" | "svg" | 'canvas' | the renderer to use: canvas or svg Inherited from SiChartBaseComponent |
| selectedItem inherited ¶ | SelectedLegendItem | { legendItemName: '' } | Specify selected legend item. Inherited from SiChartBaseComponent |
| series ¶ | ProgressBarChartSeries[] | undefined | The series for the chart. | |
| showCustomLegend 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. Inherited from SiChartBaseComponent |
| showLegend inherited ¶ | boolean | true | Show Echarts legend Inherited from SiChartBaseComponent |
| showTimeRangeBar inherited deprecated ¶ | boolean | false | If true, add consumer-provided time range bar. Use together with Deprecated: The input will be removed in future versions as the time range bar slot is deprecated. Inherited from SiChartBaseComponent |
| subTitle inherited ¶ | string | undefined | The subtitle of the chart. Inherited from SiChartBaseComponent | |
| theme inherited ¶ | any | The desired theme to load. Inherited from SiChartBaseComponent | |
| themeCustomization inherited ¶ | any | Used to override specific options of loaded Inherited from SiChartBaseComponent | |
| title inherited ¶ | string | undefined | The title of the chart. Inherited from SiChartBaseComponent | |
| visibleEntries inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRange inherited ¶ | number | -1 | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| zoomInside inherited ¶ | boolean | false | Enables zooming inside the chart with the mouse wheel/touch. Whether zooming inside the chart is possible with mouse. Inherited from SiChartBaseComponent |
| zoomSlider inherited ¶ | boolean | false | Enables the zoom slider below the chart. Inherited from SiChartBaseComponent |
| zoomSliderBrush inherited ¶ | boolean | true | enable brush mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderRealtime inherited ¶ | boolean | true | realtime update mode for zoom slider Inherited from SiChartBaseComponent |
| zoomSliderShadow inherited ¶ | boolean | true | Shows data shadow in dataZoom slider, use together with Inherited from SiChartBaseComponent |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| chartGridResized inherited ¶ | GridRectCoordinate | Event emitted when chart grid is resized. Inherited from SiChartBaseComponent |
| chartSeriesClick inherited ¶ | LegendItem | Event emitted when a chart series is clicked. Inherited from SiChartBaseComponent |
| customLegendMultiLineInfoEvent inherited ¶ | CustomLegendMultiLineInfo[] | Event emitted when custom legend multi-line info changes. Inherited from SiChartBaseComponent |
| dataZoom inherited ¶ | DataZoomEvent | Event emitted when data zoom changes. Inherited from SiChartBaseComponent |
| pointer inherited ¶ | AxisPointerEvent | Event emitted when axis pointer moves. Inherited from SiChartBaseComponent |
| selectionChanged inherited ¶ | any | Event emitted when selection changes e.g. clicking on a legend item. Inherited from SiChartBaseComponent |
| showLegendChange inherited ¶ | boolean | Show Echarts legend Inherited from SiChartBaseComponent |
| timeRangeChange inherited ¶ | number | Emitted when data zoom changes, indicating the time range in milliseconds, 0 for full range Inherited from SiChartBaseComponent |
| visibleEntriesChange inherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
| visibleRangeChange inherited ¶ | number | No auto dataZoom update) by default. Use together with Inherited from SiChartBaseComponent |
Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| startProgressIndication() inherited ¶ | () => void | Show loading indicator. Inherited from SiChartBaseComponent |
| stopProgressIndication() inherited ¶ | () => void | Hide loading indicator. Inherited from SiChartBaseComponent |
Types Documentation¶
dataZoom ? : grid ? : legend ? : series ? :
DataZoomComponentOption[] ¶ GridComponentOption | GridComponentOption[] ¶ LegendComponentOption[] ¶ EChartSeries ¶
bottom ? : calendarId ? : calendarIndex ? : Deprecated: Use coord ? : coordinateSystem ? : coordinateSystemUsage ? : height ? : id ? : left ? : mainType ? : matrixId ? : matrixIndex ? : name ? : {left, right, top, bottom, width, height}: Define a outerBounds rect, based on: • the canvas by default. • or the outerBounds ? : Available only when • 'all': Default. Contains the cartesian rect and axis labels and axis name. • 'axisLabel': Contains the cartesian rect and axis labels. This effect differs slightly from the previous option • 'auto'/null/undefined: Default. be 'axisLabel' if outerBoundsContain ? : Define a constrains rect. Axis lines is firstly laid out based on the rect defined by Options: • 'none': outerBounds is infinity. • 'same': outerBounds is the same as the layout rect defined by • 'auto'/null/undefined: Default. Use Note: outerBoundsMode ? : right ? : shadowBlur ? : shadowColor ? : shadowOffsetX ? : shadowOffsetY ? : top ? : type ? : width ? : z ? : zlevel ? : GridComponentOption
extends ComponentOption, ComponentOnCalendarOptionMixin, ComponentOnMatrixOptionMixin, BoxLayoutOptionMixin, ShadowOptionMixin ¶
PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ OptionId Inherited from ComponentOnCalendarOptionMixin ¶ number Inherited from ComponentOnCalendarOptionMixin ¶ 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.CoordinateSystemDataCoord Inherited from ComponentOption ¶ string Inherited from ComponentOption ¶ CoordinateSystemUsageOption Inherited from ComponentOption ¶ PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ OptionId Inherited from ComponentOption ¶ PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ "grid" Inherited from ComponentOption ¶ OptionId Inherited from ComponentOnMatrixOptionMixin ¶ number Inherited from ComponentOnMatrixOptionMixin ¶ OptionName Inherited from ComponentOption ¶ dataToLayout result if a boxCoordinateSystem is specified.BoxLayoutOptionMixin ¶ 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.containLabel but more precise.containLabel:true, otherwise 'all'."auto" | "all" | NullUndefined$1 | "axisLabel" ¶ 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.grid.left/right/top/bottom/width/height.outerBounds, or 'same' if containLabel:true.grid.containLabel is equivalent to {outerBoundsMode: 'same', outerBoundsContain: 'axisLabel'}."auto" | "none" | NullUndefined$1 | "same" ¶ PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ number Inherited from ShadowOptionMixin ¶ string Inherited from ShadowOptionMixin ¶ number Inherited from ShadowOptionMixin ¶ number Inherited from ShadowOptionMixin ¶ PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ string Inherited from ComponentOption ¶ PositionSizeOption Inherited from BoxLayoutOptionMixin ¶ number Inherited from ComponentOption ¶ number Inherited from ComponentOption ¶
Except where otherwise noted, content on this site is licensed under MIT License.
