Friday, April 5, 2019

javascript - Highcharts: show series on legend but hide on chart

Is there a way in highcharts where we can hide a series from the chart, but still display it on the legend?



Alternatively, can we add an imaginary/pseudo legend item but not really existing in the chart?



For context: the client asked us to color the bars depending on their category (the first 10 bars should be the default color dark blue, the next 2 bars would be colored blue, the last 3 bars light blue). Now they're requesting we put 3 legend items: Group A (for the first 10 bars), Group B (for the next 2), Group C (for the last 3). Group B and C do not need to be clickable as they are imaginary legends.

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...