Highcharts Basic Pie Chart
The following example demonstrates a basic pie 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".
var series = {
type: 'pie'
};
Example
Filename: highcharts_pie_basic.htm
Highcharts 教程 | Runoob Tutorial(runoob.com)
The output of the above example is:
Highcharts Pie Chart