Highcharts VU Meter (VU Meter)
The following example demonstrates a VU meter (VU Meter).
We learned the basic Highcharts configuration syntax in the previous chapters. Now let's look at some other configurations.
Configure
chart.type Configuration
Set the type of chart to 'gauge'. chart.type describes the chart type. The default value is "line".
var chart = {
type: 'gauge'
};
pane Configuration
pane only applies to polar charts and angular gauges. This configurable object holds the general options for combining the X and Y axes. Each X and Y axis can be associated with a pane by index.
var pane = {
startAngle: -150, // x轴或测量轴的开始度数,以度数的方式给出。0是北
endAngle: 150 //x轴极坐标或角度轴的最终度数,以度数的方式给出。0是北
};
Example
Filename: highcharts_vumeter.htm
Highcharts 教程 | Runoob Tutorial(runoob.com)
The output of the above example is:
Highcharts Gauge Chart