My AreaChart  gives me a Unable to get property 'bta' of undefined or null 
reference          
after it has 1) loaded a chart with no rows, 2) loaded a chart with some 
rows, and 3) tries to load a chart with no rows again. 

The chart-of-no-rows is pretty basic.  As JSON:

{"cols": [{"label": "Email", "type": "string"},{"label": "Count", "type": 
"number"}], "rows": [ ]}

which works the first time around.  Any ideas what's causing this?   

My AJAX javascript is also pretty straightforward so far as I know; it 
works if there is always data. I just don't know why the AreaChart fails 
the *second* time there's no rows 


var jsonData = $.ajax({
                // ... blah blah blah; the ajax call works
async: true,
failure: function () { isWaitingOnServer = false; },
                                success: function () {
data = new google.visualization.DataTable(jsonData.responseText); 
chart.draw(data, options);
jsonData = null;
isWaitingOnServer = false;
}
});


Help?

-Ron

-- 
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.

Reply via email to