Hello,
i want to use Google Charts API for a GeoMap. I use AngularJs as well so i
use the directive (https://github.com/bouil/angular-google-chart). For
Charts like Bar/Pie it works great but not für GeoCharts.
The Error message is this one:
Chart not displayed due to error: Incompatible data table: Error: Unknown
> address type.
Here is my Code i use.
var dataGeo = google.visualization.arrayToDataTable([
> ['City', 'Population', 'Area'],
> ['Rome', 2761477, 1285.31],
> ['Milan', 1324110, 181.76],
> ['Naples', 959574, 117.27],
> ['Turin', 907563, 130.17],
> ['Palermo', 655875, 158.9],
> ['Genoa', 607906, 243.60],
> ['Bologna', 380181, 140.7],
> ['Florence', 371282, 102.41],
> ['Fiumicino', 67370, 213.44],
> ['Anzio', 52192, 43.43],
> ['Ciampino', 38262, 11]
> ]);
> debugger;
> $scope.chartMap = {
> "type": "GeoChart",
> "displayed": true,
> "data": dataGeo
> }
Can someone help me to fix this error? Thanks in advance.
regards florian
--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.