Hopefully i can actually help someone. Change your method to the below:

function myClickHandler(){
    var selection = chart.getSelection();
    for (var i = 0; i < selection.length; i++) {
        var item = selection[i];
        if (item.row != null) {
        var data1 = data.getFormattedValue(item.row,0);
        var data2 = data.getFormattedValue(item.row, 2);
        alert(data1 + ' ' + data2);
              
        }
        
    }
    
}


On Thursday, 17 July 2014 14:00:57 UTC+1, Anish Benjamin wrote:
>
> I've gotten the scatter chart example in the visualization to work with 
> getSelection: http://jsfiddle.net/anishbenji/gCVE8/
> but my example with the slider doesn't work with getSelection.
>

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