Visualization: Gauges

25 views
Skip to first unread message

fear209

unread,
Aug 2, 2011, 9:10:25 AM8/2/11
to Google Visualization API
Hello is their a way the bakcground color be changed at all ? or the
gauge theme in CSS
tnx

asgallant

unread,
Aug 2, 2011, 10:36:42 AM8/2/11
to google-visua...@googlegroups.com
You can change the background of the containing div by styling the div itself, which will fill the background around the gauges.  There isn't an option that styles the gauges themselves, aside from what is provided for here: http://code.google.com/apis/chart/interactive/docs/gallery/gauge.html#Configuration_Options (none of which addresses the background color).  If you are up to it, you might be able to use jQuery and the jQuery SVG plugin to dig in to the gauge's iframe, find the elements you want, and change their colors.
Reply all
Reply to author
Forward
0 new messages