Highcharts Basic Bar Chart
The following example demonstrates a basic bar 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 bar. chart.type describes the chart type. The default value is "line".
var chart = {
type: 'bar'
};
Example
Filename: highcharts_bar_basic.htm
Highcharts 教程 | Runoob Tutorial(runoob.com)
The output of the above example is:
Highcharts Bar Chart