We have done improvements in this behaviour in Highcharts 3.0. See http://jsfiddle.net/highcharts/QuteB/. Would you consider this case solved?Tomas Nilsson supported this idea ·
An error occurred while saving the commentTomas Nilsson commented
Here is an example with the desired behavior according to us when it comes to stacking with different x-values: http://jsfiddle.net/on4sm4zt/1/
The first chart shows that the stacking doesn't work if the x values for two series are not the same. Both series have data for the x values 1, 3, 4 and 5 and the stacking works correctly there. However, if there is a small offset for the x values (x=2 and x=2.2 in our example) the stacking doesn't work.
Our goal is to visualize the sum of the two lines for an arbitrary x value even though they might not have identical x values in their data sets. Is this possible to achieve with the current version of Highcharts/Highstock? Or would it be possible to fix?
Since the points are connected by a line it would make sense to use the interpolated value of the bottom line for x=2 and add the value of the upper line for x=2 in order to get the y-position of the blue line. We have tried to visualize what we mean by adding extra points in the second chart of our example. Ideally, you wouldn't have to add extra points to achieve this effect.