Hello, it's a bit hard to tell what's going wrong without being able to run
your code. Perhaps you could make a jsfiddle to exemplify the problem?
Alternatively, you could email me privately at [email protected] with a
link to your web site so that I can help you debug it, if you are not
comfortable sharing it on the forum.

On Thu Jun 19 2014 at 2:40:20 AM, Ravindra Gharge <[email protected]>
wrote:

>
> <https://lh6.googleusercontent.com/-9K-WMwEclv4/U6KFyNQHqVI/AAAAAAAAAMs/t7xkoQOJz9U/s1600/linechart.png>
>
>
> On Thursday, June 19, 2014 11:33:24 AM UTC+5:30, Ravindra Gharge wrote:
>>
>> This is my following code :
>>
>>     function drawChartYear(data,chart){
>> google.visualization.events.removeAllListeners(chart);
>> var dataYear;
>> if(data != 1 && data != 11){ //default when page loads.....
>> console.log("Line Default run ");
>> dataYear = data;
>> }else{
>> var year ='year';
>> displayLoader();
>> var jsonData = $.ajax({
>> type: "POST",
>> url: "getYearMainChart.php",
>> data: $("#my_form").serialize(),
>> dataType: "json",
>> async: false
>> }).responseText;
>>  var obj = jQuery.parseJSON(jsonData);
>>  if(obj == 'No Data Found'){
>> currentChartView=0;
>> alert(obj);
>> hideLoader();
>> }else{
>> dataYear = google.visualization.arrayToDataTable(obj);
>> }
>> }
>>  var totalCount = totalRecords(dataYear,chart);
>>  setSelectBoxWithChartVals(dataYear);
>> chart.setDataTable(dataYear);
>> chart.setOptions(options)
>> chart.draw();
>>  var stateListener = google.visualization.events.addListener(chart,
>> 'select', selectHandler);
>>         function selectHandler() {
>> console.log("select listner called : Year");
>> var sel = chart.getChart().getSelection();   console.log("sel :
>> "+sel.toSource());
>> if (sel) {
>> var year = dataYear.getValue(sel[0].row, 0); console.log("year : "+year);
>> var user = dataYear.getColumnLabel(sel[0].column); console.log("user
>> name : "+user)
>> google.visualization.events.removeListener(stateListener);
>> drawMonthChart(year,user,chart);
>> }
>>         }
>>     }
>>
>> I am populating the chart with this function initially.
>> but stateListener not working , after clicking chart getting blocked.
>> same is working fine in mozilla firefox .
>>
>
> In google chrome I am getting this error :
>
>
> <https://lh6.googleusercontent.com/-9K-WMwEclv4/U6KFyNQHqVI/AAAAAAAAAMs/t7xkoQOJz9U/s1600/linechart.png>
>
>
> --
> 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.
>

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

Reply via email to