vinita
Posts: 1
Joined: Wed Aug 10, 2022 12:38 pm

Single legend representing multiple series

Wed Aug 10, 2022 12:51 pm

I can use showInLegend to hide legends when there are multiple series. Is it possible to represent all the series by single legend? Thank you!

michal.f
Posts: 866
Joined: Thu Aug 12, 2021 12:04 pm

Re: Single legend representing multiple series

Wed Aug 10, 2022 1:23 pm

Hello,

Yes, you can use linkedTo property to link some series with others.

Demo: https://jsfiddle.net/BlackLabel/ju83nosf/
API: https://api.highcharts.com/highcharts/s ... e.linkedTo

Best regards!
Michał Filipiec
Highcharts Developer

Return to “Highcharts Usage”