I'm using an angular gauge in Highcharts with two dials, implemented as two series.
How do I set different colors for each of the dials to distinguish them?
Highcharts.chart('container', {
chart: {
type: 'gauge',
plotBorderWidth: 0,
plotShadow: false
},
pane: {
startAngle: -150,
endAngle: 150,
},
// the value axis
yAxis: {
min: 1,
max: 5,
},
series: [{
name: 'Me',
data: [1.1],
color: '#DDDF0D' // doesn't seem to work
}, {
name: 'Average',
data: [3.3],
}]
},
}
CSS styled mode will set all dials to the same color.
Suggestions?
You need to set it like this,
DEMO