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

mapbubble with custom symbol legend

Hi I want to make a Map bubble using different marker symbols but even when choosing for example square symbol, the legend is always showing the circle symbol, how can I change it
http://jsfiddle.net/theAN10/j8r2fbsg/25/
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: mapbubble with custom symbol legend

Hello ChilllyWolf!

We appreciate you reaching out to us!

You only need to set symbolRadius property to 0.

API references:
https://api.highcharts.com/highmaps/legend.symbolRadius

Demo:
https://jsfiddle.net/BlackLabel/ad6yw91k/

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

Re: mapbubble with custom symbol legend

But what for other symbols like star and triangle
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: mapbubble with custom symbol legend

Hi again!

These types of symbols are not available through API but you can override the symbol creator function and create custom legend symbols like that: https://jsfiddle.net/gh/get/library/pur ... om-symbol/

Feel free to ask any further questions!
Best regards.
Dominik Chudy
Highcharts Developer

Return to “Highcharts Maps”