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

Highcharts Semicircle Donut Chart

Highcharts Semicircle Donut Chart

Highcharts Pie ChartHighcharts Pie Chart

The following example demonstrates a semicircle donut chart.

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


Configure

series Configuration

Set the type property of series to pie. series.type describes the data series type. The default value is "line". Configure the pie chart size using the innerSize property and set it to innerSize: '50%'.



var series = {

   type: 'pie',

   innerSize: '50%'

};

Example

Filename: highcharts_pie_semicircle_donut.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is:

Highcharts Pie ChartHighcharts Pie Chart