Reputation: 31
We are upgrading from Highcharts 2.3.2 to current version, and we have some problems with stacked area charts. The problem is that stacking:'normal'
behavior is not as expected when we have series that contain both positive and negative values.
JsFiddles:
Highcharts 2 - Desired Behavior, see chart 2
Highcharts Current - Unwanted Behavior, see chart 2
We have managed to fix this issue in charts that contain series with either only positive or only negative values, by using the stack
attribute on each series (see chart 1 in second JsFiddle).
Can anyone point us to a direction on resolving this issue?
Upvotes: 3
Views: 1090
Reputation: 10863
I was able to workaround it with the help of explanation given in this stackoverflow answer, though in my workaround at June, 19 14:40 and June, 19 16:20, there is a single negative point of Con with positives before and after it. This can cause issue when you have multiple series of such kind i.e. which one to stack above the other will be a question.
Upvotes: 1