Skip to content

SiMicroDonutComponent documentation

selector
si-micro-donut

Input Properties

NameTypeDefaultDescription
radius
number7.5Radius of donut. The radius is calculated from center of the donut to the mid point of the arc.
series
Required
MicroDonutSeries[][]Micro donut series. Can also be an array representing multiple series. Each series, in case of multiple, forms section of the arc, in percentage of the respective value. Example series can be:
Example: Series: MicroDonutSeries[] = [{ valuePercent: 40, colorToken: 'element-data-4' }];

Types Documentation

One series of the micro donut chart.
Properties
Use a data-color. See: https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens

Example:
"element-data-10"
colorToken: string
ID exposed as data-id
id?: string
value in percent
valuePercent: number

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