Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Highcharts Donut Chart

Highcharts Donut Chart

Highcharts Pie ChartHighcharts Pie Chart

The following example demonstrates a donut chart.

We learned the basic Highcharts configuration syntax in the previous chapters. Now let's look at some other configurations.


Configure

chart Configuration

Set the type property of chart to pie. chart.type describes the chart type. The default value is "line".



var chart = {

   type: 'pie'

};

Example

Filename: highcharts_pie_donut.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is:

Highcharts Pie ChartHighcharts Pie Chart