Reputation: 21694
I need a "minimum" style line that is spread across value y
and is static at it. What I have so far:
yAxis: {
plotLines: [{
color: 'red',
width: 2,
value: <?=$product[0]['current_price']?>
}]
}
Now what I want to do, is take the background below this line, and color it. How do I achieve that?
Upvotes: 0
Views: 292
Reputation: 37578
Unfortunately background under plotLine is not supported. You can only use Renderer http://api.highcharts.com/highcharts#Renderer and add extra shape, or use plotBand, below plotLine.
http://api.highcharts.com/highcharts#xAxis.plotBands
Upvotes: 1