I want to change the functionality of this chart: http://www.highcharts.com/demo/column-stacked-percent
in such a way that, when i click on the legend the percentage that is being calculated should be formulated from all the data series rather than just the visible ones. Right now clicking on legend it the column always becomes 100%.
It is possible to set ignoreHiddenSeries
to false
, but in that case hiding series other than the top one will not make other series fall down to fill the gap in the stack.
Example: http://jsfiddle.net/pahyq9b9/
Another solution would be to parse your data and use normal
stacking instead of percent
, because normal stacking will only move other points and will not change point values.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments