Gauges don't support changing the background color.  If you want to change 
the background color, you have to modify the SVG/VML code created by the 
API.  Here's an example that changes the SVG using 
jQuery: http://jsfiddle.net/asgallant/7CGhJ/

Note that this example does not work in IE 8 and older (as they use VML 
instead of SVG).  You need a separate code path to handle them.

On Thursday, January 30, 2014 1:34:44 AM UTC-5, Venkatapathi raju Ch wrote:
>
> I'm styling a google chart using the javascript api. I want to change 
> the background of the guaue chart background. For some reason 
> when I set background options like so: 
>
> chart.draw(data, { backgroundColor: { fill: "#F4F4F4" } }) 
>
> my requirement is the background color gauge chart 
> Any ideas on how to change the 
> background color  of the gauge chart? 
> Thanks 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to