Hi! I create a GeoChart for view some data. Chart render very nice, yes.
But when i create 4 columns, my chart is broken. My code for example:
>
> function drawRegionsMap() {
>
> var data = new google.visualization.DataTable();
>
> data.addColumn('string', 'Country');
>
> data.addColumn('number', 'Users');
>
> data.addColumn('number', 'DDCC');
>
> data.addColumn('number', 'Non DDCC');
>
> data.addRows([['Germany', 200, 100, 500],['United States', 300, 200,
>> 504]]);
>
> This is raise a error:
Incompatible data table: Error: Table contains more columns than expected
(Expecting 3 columns)
But if i remove 1 column - all works. Why i cannot create 4 columns? Thanks.
--
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/-/hmwLRA_hmGIJ.
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.