Hi everyone,
I am using a large number of data to generate the graph, but i am getting
the following error in chrome and firefox. it is working fine for small
data.
A script on this page may be busy, or it may have stopped responding. You
can stop the script now, or you can continue to see if the script will
complete.
Script: resource://gre/modules/XPCOMUtils.jsm:327
following is my code.
function drawChart(start_date, end_date , location) {
var jsonData = $.ajax({
url: "getdata.php?start_date=" + start_date + "&end_date=" +
end_date +"&location="+location,
dataType:"json",
async: false
}).responseText;
var data = new google.visualization.DataTable(jsonData);
var options = {
title: 'Unit Sold Report ',
hAxis: {title: 'Date', titleTextStyle: {color: 'black'}},
vAxis: {title: 'Unit Sold.', titleTextStyle: {color: 'black'}},
};
var chart = new
google.visualization.ColumnChart(document.getElementById('chart_div2'));
chart.draw(data, options);
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.