-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Thanks for this project. I've gotten so close and have gotten the base chart working; however, there appears to be an issue when using a geochart as the results always turn out blank for me.
Source inspired by: https://developers.google.com/chart/interactive/docs/gallery/geochart
Using your example, I replaced it with this and start getting a blank screen:
var data = google.visualization.arrayToDataTable([
['Country', 'Popularity'],
['Germany', 200],
['United States', 300],
['Brazil', 400],
['Canada', 500],
['France', 600],
['RU', 700]
]);
var options = {};
const chart = new google.visualization.GeoChart(container);
chart.draw(data, options);
}
// Render the chart to image
const image = await GoogleChartsNode.render(drawChart, {
width: 400,
height: 300,
mapsApiKey: '<REMOVED KEY>',
packages: ['geochart', 'corechart'],
});Metadata
Metadata
Assignees
Labels
No labels