Is it possible that in a column chart like this one, we can have the negative values show red color?
"data": [
{
"label": "Week 1",
"value": "14.5"
},
{
"label": "Week 2",
"value": "-6.5"
},
Is it possible that in a column chart like this one, we can have the negative values show red color?
"data": [
{
"label": "Week 1",
"value": "14.5"
},
{
"label": "Week 2",
"value": "-6.5"
},
There is some useful documentation on highlighting specific data here.
You'll need to specify a color attribute on specific data points.
One thing that may help you to handle this is the
Array.forEach()
function:Updated Fiddle