Hi,

Want to know if onclick even is possible for columnchart? pl help.
here is the code,..

  var chart = new
google.visualization.ColumnChart(document.getElementById('chart_div'));
 
google.visualization.events.addListener(chart, 'onclick', myfun);
        chart.draw(data, {width: 600, height: 600, title: 'Company
Performance',
                                  hAxis: {title: 'Year',
allowHtml:true,showRowNumber: true, enableEvents:true}
                         });

      }
      function myfun(event)  {
        alert('test');
      }

when onclick is replaced with onmouseover the alert is coming but for
onclick i am not getting the message.
Basically my requirement is to show one more chart when the user
clicks on the bar of a column chart..

Thanks in advance,
Surya

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to