Doughnut Chart

The Doughnut Charts components helps you to simply create a beautiful doughnut chart for displaying the data.


Doghnut Chart

Props Information

NameTypeDefaultDescription
widthNumberString400Used to set the chart width.
chartOptionsobjectIt is an object and is used to set the chart configuration.
seriesarrayIt is an array and is used to set the data and label.

Reports Doughnut Chart

Consumption per room

471.3WATTS

Living Room
15%
Kitchen
20%
Attic
13%
Garage
32%
Basement
20%

Props Information

NameTypeDefaultDescription
titleStringUsed to set the card title.
tooltipStringUsed to set the card tooltip.
count*numbertextUsed to set the total count inside the chart. Its a required prop and has the following keys:
  1. number of type Number
  2. text of type string.
chartOptionsobjectIt is an object and is used to set the chart configuration.
seriesarrayIt is an array and is used to set the data and label.