hungvm10
Posts: 2
Joined: Wed Jun 23, 2021 3:41 am

Synchronizing between map and column chart

Hi Highcharts team,
I made a Map and a Master-detail chart. Both two chart represent the population in different provinces in Vietnam. The problem is that I want to click on a province on the map and then the Master-detail chart will zoom to the correspond data on it. is it possible to achieve this?
Thank you!
pawelys
Posts: 962
Joined: Wed Sep 02, 2020 10:37 am

Re: Synchronizing between map and column chart

hi! Welcome to the official Highcharts forum, and thanks for contacting us with your question! What you can do, is set the onclick event on point. https://api.highcharts.com/highmaps/plo ... ents.click

in the event, you can just fire some drilldown event in the other chart. Does it work for you? If you have any further questions you can share the demo, and then I will try to apply the pieces of advice above to the demo. Kind regards,
Paweł Lysy
Highcharts Developer
hungvm10
Posts: 2
Joined: Wed Jun 23, 2021 3:41 am

Re: Synchronizing between map and column chart

Thank you so much! Using the onclick event works. I have been struggling with this problem for days.
pawelys
Posts: 962
Joined: Wed Sep 02, 2020 10:37 am

Re: Synchronizing between map and column chart

Good to hear! In case of any further questions feel free to contact us again! Kind regards,
Paweł Lysy
Highcharts Developer

Return to “Highcharts Usage”