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), 
symbolWidth, 
12, 
0 // affects border radius of legend symbol 
).attr({ 
//'stroke-width': 0, 
zIndex: 3 
}).add(legendGroup);

// draw the marker 
}


1 Comment

Login or Signup to post a comment