Anyone know how to change the font color and font weight on Highcharts Legends? I'm using the Easycharts module (Which is amazing btw). I currently have some really nice pie graphs set up almost perfectly, but the legend fonts don't match the rest of my site and css overrides aren't working. 

Maybe I'm not following the documentation correctly or I'm missing something, but I was able to get most of it working. I was able to add my own legend attributes using the documentation here https://api.highcharts.com/highcharts/legend. See screen grab below (screen1.png) I added legend.symbolHeight, legend.symbolWidth, legend.itemMarginBottom and they all show as options in my second screen grab below (screen2.png).

The one I'm having trouble with is legend.itemStyle. I added it on screen1.png, and it shows in my screen2.png. Unfortunately, any options I try and insert into that itemStyle field don't take hold.

Anyone out there know how to do this?

CommentFileSizeAuthor
screen1.png66.68 KBblamege1
screen2.png105.58 KBblamege1
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

blamege1 created an issue.