Re: [visualization-api] b[le] is not a function -- issue

2014-06-12 Thread Andrew Gallant
You need to remove the LineChart from the Dashboard, since it is using grouped data from the Table. You also need to remove the "view" parameter of your LineChart, since it won't work with the split series. You can define the view dynamically while constructing the group. See the changes her

Re: [visualization-api] b[le] is not a function -- issue

2014-06-12 Thread ma
Hi, Thank you for clarifying the issue. I am trying to create multi-series line chart using column [0]. If I dont group the data, then I am only getting one series name, instead I would like to see multiple names, if possible. Please advice, on the alternative process/code i would need to

Re: [visualization-api] b[le] is not a function -- issue

2014-06-12 Thread 'Daniel LaLiberte' via Google Visualization API
I'm not quite sure what you are trying to do, but I see the source of the problem. In your table 'ready' handler, you are setting the table of the line chart and drawing it, with this code: line.setDataTable(groupedData); line.draw(); Commenting out th

Re: [visualization-api] b[le] is not a function -- issue

2014-06-12 Thread ma
Thank you for your response back. I have setup the code below, which shows the current data I am using. I think it may be the line chart wrapper code, which may be throwing the error. Please advice, if possible. I was going to link to jsFiddle, but apparently the website is down and I am una

Re: [visualization-api] b[le] is not a function -- issue

2014-06-11 Thread 'Daniel LaLiberte' via Google Visualization API
Thanks for posting your code, but this can't be your entire code because the call of the drawVisualization must include arguments that provide the data and columns. I tried to make up some data that looks like what you expect, and I don't see the problem you are reporting, so it might be there is

Re: [visualization-api] b[le] is not a function -- issue

2014-06-11 Thread ma
Thank you for your reply back. This is my entire code below. I am using the table event handler from the following link -- http://jsfiddle.net/asgallant/FRz59/8/ function drawVisualization(dataValues, chartTitle, columnNames, categoryCaption) { if (dataValues.length < 1)

Re: [visualization-api] b[le] is not a function -- issue

2014-06-11 Thread 'Daniel LaLiberte' via Google Visualization API
Hi Misbah, The code you included is not complete enough to tell why you are seeing the error that you reported, but I can see one potential problem just by inspection. You are using a categoryPicker that is not defined. Maybe you have it defined outside of this drawVisualization function, in whi

[visualization-api] b[le] is not a function -- issue

2014-06-11 Thread ma
I am writing to seek advice, as to why am I getting -- b[le] is not a function-- error on the client-side, using the following code below. I have tested the event listener code using JSfiddler and seems to work fine. Please help, if possible. Any feedback would be most appreciated. Thank you.