Thanks asgallant ...!!  That's correct events don't fire for sub
elements but still i am trying to play with the rendered svg/vml
graphics and some how i am able to change the Tool tip text in all the
browsers except Internet explorer. As rendering pattern is bit
different for Internet explorer.
Can you please take a look at this image and tell me about the v:path
and v:textpath. which element is responsible to have tooltip text.

http://www.4shared.com/photo/WgHUOsdE/chartRendering.html

Following code helps me to change the tooltip text in other browsers
except Internet Explorer.

function barMouseOver(e) {
                var row = e['row'];
                var column = e['column'];
                var priceval = data.getValue(e['row'], e['column']);

                if (navigator.appName == 'Microsoft Internet
Explorer') {
                    tooltip_iframe =
window.frames[document.getElementById('visualization').firstChild.name];
                    tooltip_dom =
tooltip_iframe.document.getElementById('chart').firstChild.nextSibling;
                   ???????????
                }
                else {
                    tooltip_iframe =
window.frames[document.getElementById('visualization').firstChild.name];
                    tooltip_dom =
tooltip_iframe.document.getElementById('chart').firstChild.nextSibling.nextSibling;
                    container =
tooltip_dom.firstChild.firstChild.nextSibling.nextSibling;
                    txt1 =
tooltip_dom.firstChild.firstChild.nextSibling.nextSibling.nextSibling;
                    txt2 =
tooltip_dom.firstChild.firstChild.nextSibling.nextSibling.nextSibling.nextSibling;
                    txt1.textContent = "Tooltip Text: Value 10";
                    txt2.textContent = "Tooltip Text:
Value";
                    //next textpath will show the value from data
table
                }

            }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to