I am not sure I am doing this correctly.  I am just learning all this.  I 
am wanting to change the colors of the pie chart sections and my chart is 
dynamically populated by a google spreadsheet.

<script type="text/javascript">
      google.load('visualization', '1');
    </script>
    <script type="text/javascript">
      function drawVisualization() {
        // To see the data that this visualization uses, browse to
        // http://spreadsheets.google.com/ccc?key=pCQbetd-CptGXxxQIG7VFIQ
        var wrapper = new google.visualization.ChartWrapper({
          dataSourceUrl: 
'https://docs.google.com/spreadsheet/pub?key=0AjlSK7_zXoNHdHhpV1ZCTTJqdDRqeEtDREFLSXBnOGc&range=A1:B81&pub=1'
,
          chartType: 'PieChart',
          containerId: 'visualization',
          colors: ['#e0440e', '#e6693e', '#ec8f6e', '#f3b49f', '#e0440e', 
'#e6693e', '#f6c7b6'],
             is3D: true
        });
        wrapper.draw ();
      }
       
      

      google.setOnLoadCallback(drawVisualization);
    </script>
  </head>
  <body style="font-family: Arial;border: 0 none;">
    <div id="visualization" style="width: 600px; height: 400px;"></div>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/zlHw5mHCLccJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to