Hi, I have a column in my chart generated using highcharts. Currently I want the color of the column and spline to become red if the value of spline is less than 80.
So I have the codes as below:
series: [{
type: 'column',
name: 'Total Built',
data: _TotalBuilt,
zones: [{
value:
color: 'red',
}]
}, {
type: 'spline',
name: 'Size',
data: _QuantityOrder,
zones: [{
value: 80,
color: 'red',
}]
}]
I have no problem getting it painted red for _QuantityOrder. But how do I do the same for _TotalBuilt in which its color will based on the value of _QuantityOrder.
For example, if _QuantityOrder is less than 80, then color for column of _TotalBuilt will also be red.
Thank you.
What I have tried:
1. Looking for online solution but its not what I want.