You don't get them from the event.  Call chart.getSelection() to get an 
array of selected elements.  Each element of the array has row and column 
properties:

google.visualization.events.addListener(chart, 'select', selectevent);

function selectevent(e){
    var selection = chart.getSelection();
    for (var i = 0; i < selection.length; i++) {
        // do something with selection[i].row and selection[i].column
    }
}

On Monday, April 15, 2013 5:53:05 AM UTC-4, Praveenkumar Gola wrote:
>
> Hi guys my column chart needs a select event so i did fire event.
> but not getting row and column values
>
>
>
> * google.visualization.events.addListener(chart, 'select', selectevent);*
>
> *function selectevent(e){
> e.row;
> e.column;
> }
> *
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to