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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -