Have you tried option backgroundColor: 'none' ?

On Wed, Jun 8, 2016 at 10:27 AM, John <[email protected]> wrote:

> All I would like to do is have a transparent background for the chart..
> CLEAR..No Color.
>
> Here is the code...
>
>
> <html>
>   <head>
>     <script type="text/javascript" src="
> https://www.gstatic.com/charts/loader.js";></script>
>     <script type="text/javascript">
>       google.charts.load("current", {packages:["corechart"]});
>       google.charts.setOnLoadCallback(drawChart);
>       function drawChart() {
>         var data = google.visualization.arrayToDataTable([
>           ['Task', 'Hours per Day'],
>           ['Work',     11],
>           ['Eat',      2],
>           ['Commute',  2],
>           ['Watch TV', 2],
>           ['Sleep',    7]
>         ]);
>
>         var options = {
>           title: 'My Daily Activities',
>           pieHole: 0.91,
>         };
>
>         var chart = new
> google.visualization.PieChart(document.getElementById('donutchart'));
>         chart.draw(data, options);
>       }
>     </script>
>   </head>
>   <body>
>     <div id="donutchart" style="width: 900px; height: 500px;"></div>
>   </body>
> </html>
>
> *THANK YOU*
>
> --
> 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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/4bd3b1fd-edf3-4cc6-8105-7a42761d4807%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/4bd3b1fd-edf3-4cc6-8105-7a42761d4807%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPzmw0LUoJvGNWUSQObhR2yu2Erz8JdM48MHjm3yfncCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to