Highcharts Pie Charts-Pie Chart with Legends - HighCharts

Here’s an example of a Pie Chart with Legends.

Configurations

series

Configure the series type to be pie based. series.type decides the series type for the chart. Default value is "line".

plotOptions

Configure the plotOptions to have legends in pie chart using plotOptions.pie.showInLegend attribute.

Example

highcharts_pie_legends.htm

Result

Verify the result.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HighCharts Topics