How I profile the timing of the draw function to see how much time the draw function is taking ? Let me know if their is any limit for the data object to hold the data.
Thanks On Wednesday, April 9, 2014 6:04:00 AM UTC+5:30, asgallant wrote: > > I was able to create a chart from that data with no problems: > http://jsfiddle.net/asgallant/M4YQW/ > > If your chart is taking a long time to draw, I suggest profiling the > timing of the draw function to see if the time is in the draw call or the > AJAX request (I suspect it is the AJAX). When you get the error from > JSON.parse, check the contents of the JSON string, it might be an error > message from the server, which is likely HTML instead of JSON. > > On Tuesday, April 8, 2014 9:12:21 AM UTC-4, Ravindra Gharge wrote: >> >> This is my DataTable : >> >> [["month","count","m","[email protected]","[email protected] >> ","sabya","hemant","SMN00022","SMN00024","SMN00018","SMN00017"," >> [email protected]","umesh","omkar","bala","sahoo","bunty","test"],["2013-10-15 >> :14",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-11-11 >> :20",1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-11-13 >> :21",1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-11-16 >> :19",1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-05 >> :18",2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-05 >> :19",5,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-06 >> :16",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-06 >> :18",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-06 >> :19",3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-07 >> :19",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-09 >> :23",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-10 >> :17",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-12 >> :00",2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-12 >> :19",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-14 >> :19",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-18 >> :19",4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-19 >> :17",7,3,0,0,0,0,1,0,1,2,0,0,0,0,0,0,0],["2013-12-19 >> :18",2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0],["2013-12-23 >> :11",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-23 >> :16",1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],["2013-12-24 >> :11",8,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],["2013-12-24 >> :12",12,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0],["2013-12-24 >> :17",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-25 >> :11",4,0,0,0,0,1,2,1,0,0,0,0,0,0,0,0,0],["2013-12-25 >> :12",6,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0],["2013-12-29 >> :08",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-30 >> :12",1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0],["2013-12-30 >> :13",3,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0],["2013-12-30 >> :14",9,0,0,5,0,0,0,0,0,0,4,0,0,0,0,0,0],["2013-12-30 >> :15",6,1,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-30 >> :21",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-31 >> :10",1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],["2013-12-31 >> :11",13,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0],["2013-12-31 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-01 >> :13",1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0],["2014-01-02 >> :10",6,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0],["2014-01-02 >> :11",13,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0],["2014-01-02 >> :12",6,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0],["2014-01-02 >> :13",3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0],["2014-01-02 >> :14",1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-02 >> :16",2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0],["2014-01-03 >> :21",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-04 >> :11",7,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0],["2014-01-04 >> :13",27,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0],["2014-01-04 >> :14",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :10",7,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :11",13,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :12",15,0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :13",7,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :14",5,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0],["2014-01-06 >> :16",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-07 >> :12",7,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0],["2014-01-07 >> :13",3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0],["2014-01-07 >> :14",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-08 >> :11",11,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0],["2014-01-08 >> :12",12,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0],["2014-01-08 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-08 >> :17",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-08 >> :18",20,0,0,0,0,0,0,0,0,0,0,0,1,19,0,0,0],["2014-01-08 >> :20",2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0],["2014-01-09 >> :11",5,0,0,0,0,1,0,0,0,0,0,0,4,0,0,0,0],["2014-01-09 >> :12",6,0,0,0,0,2,0,0,0,0,0,0,4,0,0,0,0],["2014-01-09 >> :14",3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0],["2014-01-09 >> :16",2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0],["2014-01-09 >> :17",4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-09 >> :19",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-10 >> :11",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-10 >> :16",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-10 >> :18",2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-11 >> :11",16,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0],["2014-01-11 >> :12",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-11 >> :13",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-11 >> :14",3,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0],["2014-01-11 >> :15",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-11 >> :17",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :10",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :11",10,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :12",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :13",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :14",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-13 >> :17",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-15 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-15 >> :13",8,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],["2014-01-15 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-17 >> :11",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-17 >> :12",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-17 >> :13",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-17 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-17 >> :17",1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-01-20 >> :17",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-01-21 >> :15",13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0],["2014-01-21 >> :16",7,2,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0],["2014-01-21 >> :17",13,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-21 >> :18",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-21 >> :19",8,7,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-01-21 >> :20",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-01-21 >> :21",1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-01-22 >> :15",6,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-22 >> :16",4,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0],["2014-01-22 >> :17",7,4,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0],["2014-01-22 >> :18",3,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-01-22 >> :19",6,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-22 >> :20",1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-01-22 >> :21",2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-23 >> :11",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-23 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-24 >> :22",2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-25 >> :12",3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0],["2014-01-25 >> :13",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-27 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-27 >> :19",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-28 >> :13",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-01-28 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-29 >> :17",3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-01-30 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-01-30 >> :13",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-01-30 >> :16",1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["2014-02-03 >> :17",3,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0],["2014-02-05 >> :10",3,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0],["2014-02-05 >> :11",6,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0],["2014-02-05 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-02-05 >> :17",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-02-05 >> :18",11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0],["2014-02-06 >> :11",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-02-06 >> :12",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-02-06 >> :13",8,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],["2014-02-06 >> :14",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-02-07 >> :18",5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0],["2014-02-07 >> :19",7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0],["2014-02-10 >> :14",12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0],["2014-02-10 >> :15",8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0],["2014-02-10 >> :18",2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],["2014-02-10 >> :19",1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-02-11 >> :14",8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0],["2014-02-11 >> :15",32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0],["2014-02-11 >> :16",46,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0],["2014-02-11 >> :17",12,3,0,0,0,0,0,0,0,0,0,0,0,0,2,7,0],["2014-02-11 >> :18",20,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0,0],["2014-02-12 >> :19",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],["2014-02-13 >> :13",2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0],["2014-02-13 >> :14",27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,0],["2014-02-13 >> :15",18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0],["2014-02-14 >> :13",38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0],["2014-02-14 >> :14",21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0],["2014-02-14 >> :15",42,0,0,0,0,0,0,0,0,0,0,0,0,0,0,42,0],["2014-02-17 >> :13",6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0],["2014-02-17 >> :14",38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0],["2014-02-17 >> :15",12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0],["2014-02-20 >> :14",11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0],["2014-02-20 >> :15",41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0],["2014-02-20 >> :16",13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0],["2014-02-21 >> :13",14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0],["2014-02-21 >> :14",47,0,0,0,0,0,0,0,0,0,0,0,0,0,0,47,0],["2014-02-24 >> :14",41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0],["2014-02-24 >> :15",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-02-25 >> :14",16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0],["2014-02-25 >> :15",3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0],["2014-02-26 >> :11",4,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0],["2014-02-26 >> :12",2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0],["2014-02-26 >> :13",42,0,0,0,0,2,0,0,0,0,0,0,0,0,0,40,0],["2014-02-26 >> :14",5,0,0,0,0,1,0,0,0,0,0,0,0,0,0,4,0],["2014-02-27 >> :12",20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0],["2014-02-27 >> :13",50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0],["2014-02-27 >> :14",38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,38,0],["2014-02-28 >> :13",19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0],["2014-02-28 >> :14",76,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0],["2014-02-28 >> :15",20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,0],["2014-03-01 >> :13",63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,0],["2014-03-01 >> :14",79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,79,0],["2014-03-03 >> :12",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-03-03 >> :13",89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0],["2014-03-03 >> :14",19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0],["2014-03-04 >> :13",1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0],["2014-03-04 >> :14",61,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61,0],["2014-03-04 >> :15",21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0],["2014-03-05 >> :13",19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0],["2014-03-05 >> :14",32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0],["2014-03-11 >> :13",1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0],["2014-03-18 >> :17",1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],["2014-04-05 >> :18",2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0],["2014-04-06 >> :17",2,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0]] >> >> I am getting this from JSON call. >> >> some time chart displayed it took minimum 58.02sec. >> some time it throw the error : SyntaxError: JSON.parse: unexpected end of >> data >> >> The above data object size will increases with time. so is their any >> better way to come out of it. >> >> unable to find the solution Please Help. >> > -- 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.
