gisligudjons
Posts: 1
Joined: Sun May 01, 2022 3:33 pm

Multiple charts on country click

Hello all

I am trying to make an interactive dashboard with a map as the centerpiece. When the viewer clicks on a country I would like to be able to view multiple charts based on data regarding that country. I have not found any examples of this or helpful advice. Is there any fiddle or similar that could help me in this regard?

All the best
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Multiple charts on country click

Hello,

You can use series.map.data.events.click() callback function to update other charts with data passing from the clicked point.

Demo: https://jsfiddle.net/BlackLabel/jzp7Lnx0/
API: https://api.highcharts.com/highmaps/ser ... ents.click

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”