Daniel, thanks. Here's what I tried. The url gives the right JSON
string, but no chart comes through on the page, I wonder what I'm
doing wrong?
google.load('visualization', '1.0', {'packages':['corechart']});
// Load the Visualization API and the piechart package.
google.setOnLoadCallback(drawChart); // Set a callback to run when
the Google Visualization API is loaded.
// Callback that creates and populates a data table, instantiates the
chart, passes in the data and draws it.
function drawChart() {
context: document.body
}).done(function(jsonData) {
var data = new
google.visualization.DataTable(JSON.parse(jsonData)); // Create our
data table out of JSON data loaded from server.
var options = {
'lineWidth': 1,
'legend': {position: 'top'},
'backgroundColor':'#f8f8ea', // same color as background box
'width':850,
'height':200,
'hAxis': {textStyle: {fontSize:10, color:'black',
bold:'true'}, viewWindowMode: 'maximized', gridlines: {count:-1} },
'vAxis': {textStyle: {fontSize:10, color:'black'},
logScale: 'true', gridlines: {count:-1} },
'fontName':'Trebuchet MS'
};
var chart = new
google.visualization.LineChart(document.getElementById('chart_NAVgrowth'));
// Instantiate chart
chart.draw(data, options); // draw chart, passing in some options.
>> dlali...@Google.com 5CC, Cambridge MA
>> daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
> dlali...@Google.com 5CC, Cambridge MA
> daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Visualization API" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/google-visualization-api/edujc3A9x5A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
Best Regards,
Patrick Beaudan
(415) 839-5239