Start a new topic

Customising legend symbols

Original post from our old UserVoice platform:

It would be great if we could customise the legend symbols. I managed to drill down and find the borderRadius in the main js file but would be good if this was an option like in the main legend box...

Also if we could replace the symbols with images that would be great too. ie we could have flags for country data etc.

if (simpleSymbol) { // bar|pie|area|column

legendSymbol = renderer.rect( 
(symbolX = -symbolWidth - symbolPadding), 
(symbolY = -11), 
0 // affects border radius of legend symbol 
//'stroke-width': 0, 
zIndex: 3 

// draw the marker 

1 Comment

Login or Signup to post a comment