= CHF BG, s, FFFFFF00
is the code for old google maps .
These codes will only work with chart versions other than SVG. Google graphic art graphs are outdated (as you can see from their help pages ), so if you donβt want to implement the old diagrams, you won wonβt be able to implement the above code on your new, fantastic interactive SVG graphs.
For the new fantastic SVG charts, I got lucky with
backgroundColor: "transparent"
Copy this into the Google Playground to check:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title> Google Visualization API Sample </title> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('visualization', '1', {packages: ['corechart']}); </script> <script type="text/javascript"> function drawVisualization() { </script> </head> <body style="font-family: Arial;border: 0 none;" bgcolor="#E6E6FA"> <div id="visualization" style="width: 600px; height: 400px;"></div> </body> </html>
This is an example of a standard chart with two things added:
- bgcolor = "# E6E6FA" to the body element (turn it blue so we can tell if it is transparent)
- backgroundColor = "transparent" for the parameters (make it transparent)
This works in Firefox. I do not know if it works in IE7 (no test environment). Let us know if this works.
source share