javascript - How can I add a custom class to the AmChart legend? -


i want wrap html tag around labels in legend. looked through documentation amlegend(), , didn't find obvious. there way this?

the legend comes "amchartslegend" if prefer own classnames can access within created chart instance "legenddiv"

var chart = amcharts.makechart({...}); chart.legenddiv.classlist.add('your-classname'); 

i hope helped :)


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -