Set the tooltip.trigger option to "selection" or "both".  Setting it to 
"selection" shows the tooltip only when a user clicks the pie slice, 
setting it to "both" shows the tooltip when the user hovers over or clicks 
the slice.  The, create a "ready" event handler that sets the selection on 
the chart:

google.visualization.events.addListener(chart, 'ready', function () {
    chart.setSelection([{
        row: 0 // select the first slice (row 0 in the DataTable)
    }]);
});

On Wednesday, June 4, 2014 10:17:54 AM UTC-4, karthik ram wrote:
>
> Hi,
>
> I have implemented the Google Graph API to display the pie chart. Also I 
> have implemented the Tooltip, this feature is really awesome. But I wanted 
> to show the content being displayed mouse over as default.
> So that user can see the tool-tip content without placing the cursor over 
> the graph.
>
> Thanks in advance.
>
> Karthik
>

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