I'm trying to use the series.formatters attribute in the advanced visualisation editor. I have built a simple bar graph which plots a metric against months of the year and I'd like to conditionally format the colours of the bars above a certain number.
Here is my code snippet:
{
xAxis: {
plotBands: [{
to: 1546300800000,
from: 1640995200000,
label: {
text: 'Covid'
}
}]
},
series: [{
formatters: [{
select: 'value >= 5500000',
style: {
color: 'orange'
}
}]
}]
}
I can successfully create my x-band, and I do not seem to have errors with my formatters, but these won't apply. Can anyone see why it's not working?