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

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -