I'm trying to make my chart behave differently on different screen sizes using responsive css media queries. Resizing and all works, just using css. However I'd also like to make the font sizes on the axis' smaller/larger depending on the screen size. The only way I see to set the font-size(style) is using javascript. Is there any way to assign a css class to the axis style setting so that it automatically adjusts?
ie, something like:
Code: Select all
yAxix: {
labels: {
styleClass: '.mysAxisStyle'
}
}
Thanks,
Albert