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

Highcharts Basic Area Chart

Highcharts Basic Area Chart

Highcharts Area ChartHighcharts Area Chart

The following example demonstrates a basic area chart.

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


Configure

chart

The chart.type configuration item is used to set the chart type; the default is "line", and in this chapter we use 'area'.



var chart = {

   type: 'area'

};

Example

Filename: highcharts_area_basic.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is:

Highcharts Area ChartHighcharts Area Chart