Join GitHub today
Polygon series should not consider the global "stacking" property #5310
My chart is set for columnrange with "stacking: normal". But I also have some polygon series'. The stacking property, no matter what it is, should not affect the polygons.
With the global stacking property as "normal", the polygons are rendered incorrectly (see jsfiddle example below).
Live demo of the issue
The workaround is to remove the global stacking setting and put "stacking: normal" into every columnrange series. Then the polygon will render correctly. See
Steps to reproduce the behaviour
Just run the demo.
Observed browsers: Firefox and Chrome.
You don't need to set it on every item, instead use the general
On second thought I'm not sure this is a bug... You have actually set
First of all, I want to thank you VERY MUCH for making such wonderful tools and letting non-profit projects to use for free. Here I share with you a screencast (http://everest.pdl.cmu.edu/downloads/global_scheduling.mov) which is built using your tools. It is the prototype of a visualization tool intended for Hadoop's resource manager (data center job scheduler/planner). High-chart comes with fine documentation, many handy examples, very few bugs, and great performance.
But allow me to differ on this particular bug. Any interface invariably harbors ambiguity, such as in the case of the stacking property for polygons. To manage ambiguity, the implementation should deliver the output that surprises the user the least. Since stacking for polygons is not meaningful, the user does NOT expect the global setting of stacking to affect polygons. Therefore, the implementation should choose to ignore the stacking property or give a warning.