The #goUpAndDraw method is broken.  When it gets fixed, this is what you 
would use to make it work:

var parentIndex = 0;
google.visualization.events.addListener(chart, 'select', function () {
    var selection = chart.getSelection();
    if (selection.length > 0) {
        var row = selection[0].row;
        if (row == parentIndex) {
            // then we clicked on the header
            chart.goUpAndDraw();
        }
        else {
            parentIndex = row;
        }
    }
});

On Tuesday, September 24, 2013 4:40:03 AM UTC-4, Nitsan Zohar wrote:
>
> Hi,
> I need to run the goUpAndDraw() method by clicking the header of the tree 
> map, how can I do it?
>
> Thanks,
> Nitsan
>

-- 
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/groups/opt_out.

Reply via email to