You can't customize the tooltip contents, but you can disable the tooltips 
(set the tooltip.trigger option to "none") and use "onmouseover" and 
"onmouseout" event handlers to spawn and remove your own custom tooltips.  
It would work something like this:

google.visualization.events.addListener(chart, 'onmouseover', function (e) {
    // e.row and e.column are the row/column indices to look up the data 
for the moused over point in the DataTable
    // eg:
    var value = data.getValue(e.row, e.column);
    // spawn a tooltip containing whatever information you want here
});
google.visualization.events.addListener(chart, 'onmouseout', function (e) {
    // remove the tooltip here
});

On Monday, June 9, 2014 7:35:42 PM UTC-4, serene wrote:
>
> Is there a way I can customize the dat markers. I want to customize the 
> displayed information on mouse over
> On Jun 9, 2014 2:59 PM, "Andrew Gallant" <[email protected] 
> <javascript:>> wrote:
>
>> Last I checked (which admittedly was over a year ago), BubbleCharts did 
>> not support custom tooltips.  To the best of my knowledge, the dev team has 
>> not added support since then.
>>
>> On Monday, June 9, 2014 5:41:01 PM UTC-4, serene wrote:
>>>
>>> Hello,
>>>
>>> Can Anyone help with the code for creating custom tooltip for google 
>>> bubble chart?
>>>
>>  -- 
>> 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] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at 
>> http://groups.google.com/group/google-visualization-api.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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