That should work in every browser except IE < 9, provided you have set the
forceIframe option to true. You need to have two separate code paths to do
this though, one for IE < 9 and one for everything else. IE < 9 uses VML
instead of SVG, so you have to figure out what the structure is for the pie
slices in VML and then write code to handle them (keep in mind that IE < 9
always uses iframes, regardless of what you set the forceIframe option to).
If you didn't set the forceIframe option, the non-IE < 9 code-path should
not select based on $('iframe').contents().
On Monday, July 30, 2012 3:44:37 AM UTC-4, Nikhil Agrawal wrote:
>
> HI All,
>
> I am working on pie chart. On clicking on each pie segment it gets
> redirected to some url. So i want that when mouse hovered it should show a
> hand cursor.
> I tried using jquery as follows inside an ready event listner.
>
> $('iframe').contents().find('g').css( 'cursor', 'pointer' );
>
> It doesn't show a hand cursor in the* pie segment*. But instead in
> tooltip & legends of the pie chart.
> Can any one suggest me what should be done to show show the hand pointer
> inside each segments.
>
>
> Thanks in Advance ..:)
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/ZSIT9N_ZOE8J.
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.