Hi,

The chart does not ignore it. It is simply that the size you see is the
maximum size the chart currently supports. If you try smaller sizes, you'll
see it works.

- VizBoy.

On Wed, Mar 25, 2009 at 11:34 PM, codingGirl <[email protected]
> wrote:

>
> Why does this chart ignore my size parameters?
>
> <html>
>  <head>
>    <script type="text/javascript" src="http://www.google.com/jsapi";></
> script>
>    <script type="text/javascript">
>      google.load("visualization", "1", {packages:["intensitymap"]});
>      google.setOnLoadCallback(drawChart);
>      function drawChart() {
>        var data = new google.visualization.DataTable();
>        data.addColumn('string', '', 'Country');
>        data.addColumn('number', 'Population (mil)', 'a');
>        data.addColumn('number', 'Area (km2)', 'b');
>        data.addRows(5);
>        data.setValue(0, 0, 'CN');
>        data.setValue(0, 1, 1324);
>        data.setValue(0, 2, 9640821);
>        data.setValue(1, 0, 'IN');
>        data.setValue(1, 1, 1133);
>        data.setValue(1, 2, 3287263);
>        data.setValue(2, 0, 'US');
>        data.setValue(2, 1, 304);
>        data.setValue(2, 2, 9629091);
>        data.setValue(3, 0, 'ID');
>        data.setValue(3, 1, 232);
>        data.setValue(3, 2, 1904569);
>        data.setValue(4, 0, 'BR');
>        data.setValue(4, 1, 187);
>        data.setValue(4, 2, 8514877);
>
>        var chart = new google.visualization.IntensityMap
> (document.getElementById('chart_div'));
>        chart.draw(data, {width: 880, height: 440});
>      }
>    </script>
>  </head>
>
>  <body>
>    <div id="chart_div"></div>
>  </body>
> </html>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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