ChilllyWolf
Posts: 7
Joined: Wed Dec 02, 2020 3:57 pm

Re: Zooming a mappie

I'm facing the same issue with a custom map, I used country attribute on center but not working and couldn't know what other attributes I can try because of the lack of documentation for the 'mappie' type

http://jsfiddle.net/theAN10/n0vwzsg2/13/

is there anything to change ?
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Zooming a mappie

Hello ChilllyWolf!

Welcome to our forum and thanks for contacting us with your question!

So do you want to center the pies on the map? I've seen that you also have zoom buttons on your chart but they don't work. Do you want to make them work too? Please describe your requirements for this demo more specifically. :)

Best regards!
Dominik Chudy
Highcharts Developer
ChilllyWolf
Posts: 7
Joined: Wed Dec 02, 2020 3:57 pm

Re: Zooming a mappie

Yes the problem is when I navigate or zoom on the map, the charts are not following, like they'are not linked
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Zooming a mappie

Hi again!

We can modify pies' position in plotX.center and plotY.center properties and the data for these props are taken from state config. We can also modify the pies' size in the sizeFormatter function. I changed this functionality so now the pies can get bigger or smaller. As I've said before if it's not what you were looking for please describe your requirements more specifically.

Demo: https://jsfiddle.net/BlackLabel/48sL1h6c/

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Maps”