Skip to main content

Pie Chart

Pie Chart (PieChart) is a chart control.

Examples#

Properties#

NameTypeDefaultDescription
legendboolfalseWhether to show legend.
tooltipsboolfalseWhether to show tooltips over bars.
innerValuestring or numberThe value to display in the center of the chart.
innerRadiusnumberHole radius in the center to draw chart as a donut.

Child controls#

Data control#

Serves as a container for P (point) controls.

Child controls#

P control#

Describes chart data point.

Properties#

NameTypeDefaultDescription
valuenumberData point (sector) value.
legendstringLegend text for the datapoint in the chart.
colorstringColor for the legend in the chart.
tooltipstringCallout data the value. legend will be used if not provided.