Does not work in my code :-( This is my code.What am i doing wrong?
function drawMarkersMap() {
var data = google.visualization.arrayToDataTable([
['City', 'Anzahl', ],
['Albanien', " & Spieler::Summe Albanien & "],
['Andorra', " & Spieler::Summe Andorra & "],
['Armenien', " & Spieler::Summe Armenien & "],
['Aserbaidschan', " & Spieler::Summe Aserbaidschan & "],
['Belgien', " & Spieler::Summe Belgien & "],
['Bosnien und Herzegowina', " & Spieler::Summe Bosnien & "],
['Bulgarien', " & Spieler::Summe Bulgarien & "],
['Dänemark', " & Spieler::Summe Dänemark & "],
['Deutschland', " & Spieler::Summe Deutschland & "],
['GB-ENG', " & Spieler::Summe England & "],
['Estland', " & Spieler::Summe Estland & "],
['Färöer', " & Spieler::Summe Färöer & "],
]);
var view = new google.visualization.DataView(data);
view.setRows(view.getFilteredRows([{
column: 1,
test: function(v) { return v !== 0; }
}]));
var options = {
region: 'world',
displayMode: 'markers',
backgroundColor: '#5E5C5C',
datalessRegionColor: '#DAD8D9',
colorAxis: {colors: ['black','green', 'red']}
};
var chart = new
google.visualization.GeoChart(document.getElementById('chart_div'));
chart.draw(data, options);
};
</script>
</head>
<body bgcolor=#5E5C5C>
<div id=\"chart_div\" style=\"width: 963px; height: 368px;\"></div>
</body>
</html>"
--
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/d/optout.