Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Greetings.
First let me say I love this module. It's the first charting module that works as advertised so I'm very pleased.
My website has a dark back ground and I've figured out how to change the back ground color (by inserting "'backgroundColor' => 'black'," in the options array.
What I'm having a bear doing is changing the legend and title text styles. Could you give me some direction? I'd appreciate it.
Rob
Comments
Comment #1
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedI think the Google Charts API does not support this yet, not sure.
Comment #2
dayer4b CreditAttribution: dayer4b commentedI added this around line 135 of the file views_dataviz_plugin_style_dataviz.inc:
I believe you could add any CSS color value there.
Comment #3
dayer4b CreditAttribution: dayer4b commentedOops, I just got what you were talking about.
You can do this for those text styles / colors:
more ideas here: https://google-developers.appspot.com/chart/interactive/docs/gallery/pie...