-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
Expected behaviour
Negative color should only appear on points that are actually negative.
Actual behaviour
For context, here's what the chart looks like when only one series. I included this so you can see how the data is structured and how the negative values apply appropriately:
Fiddle: https://jsfiddle.net/runfaj/0u9gxtzb/1/
However, once another series is added with large values, causing the first series to scale very close to the 0 axis line, you can see now it is actually rendering two lines where the negative values is across the length of the chart.
Fiddle: https://jsfiddle.net/runfaj/21ycwasv/1/
I don't believe this is a configuration issue since 99.9% of all our charts have worked fine, but this edge case has popped up for a couple customers to complain. From what I can tell, it looks like there are two generated svgs for the tiny values line series and both appear to be generating across the whole chart. I think in this scenario, I would probably expect to see the essentially the same as the first screenshot above, but nearly a flat line displayed with the first 9/10ths or so purple and that last 1/10th is red.
Product version
highcharts 11.0.0
Affected browser(s)
any
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
