Hello Andrew, On Tue, Jun 4, 2013 at 7:13 PM, asgallant <drew_gall...@abtassoc.com> wrote:
> I wrote a hack that shows/hides series by clicking on legend labels > (hidden series are greyed out in the legend): > http://jsfiddle.net/asgallant/6gz2Q/. thank you for the code! Because I have multiple charts at my Perl-generated web pages I'd like to move the var columns=[], var series={} part into the "select" listener. My problem is: how to access the currently selected chart and esp. its data? Is a ref to it passed within "select" event? I've added argument to the listener: google.visualization.events.addListener(chart, 'select', function (event) { console.dir(event); but it prints: null Regards Alex -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. 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.