Older versions of IE use VML, and on top of that, it's all stuffed inside
an iframe. You'll need to use something like this to get at it:
var path =
document.getElementById('chart_div').getElementsByTagName('iframe')[0].contentWindow.document.getElementsByTagName('path');
I *think* VML uses the "path" tag for paths, but I'm not 100% certain of
that. You may have to experiment.
On Wednesday, February 13, 2013 6:21:59 AM UTC-5, Tomáš Matonoha wrote:
>
> Hi,
> I uses JavaScript to get SVG path in IE9 >, Chrome, FF, ...
>
> *var path =
> document.getElementById('chart_div').getElementsByTagName('path');*
>
> But IE8, 7... don't support SVG.
>
> Is there some way how to get path in IE8, 7?
>
>
> Thanks
>
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.