WOW..it worked... thanks a lot ..:) BTW what do you do ? where you work on, which technology ?
On Tue, Jul 31, 2012 at 8:37 PM, asgallant <[email protected]>wrote: > Don't put it on "g" tags, put it on "path" tags, as I did in the example. > > > On Tuesday, July 31, 2012 11:03:11 AM UTC-4, Nikhil Agrawal wrote: >> >> asgallant i want the pointer inside th*e *coloured element only of pie >> chart, not on the entire svg element.. when i am adding css for svn it is >> showing hand cursor but when i am adding css cursor:pointer in g tags it is >> not working. Any solutions? >> >> On Tue, Jul 31, 2012 at 8:18 PM, asgallant <[email protected]>wrote: >> >>> I guess it depends on what you want the keyboard interaction to be. You >>> can bind keypresses using jQuery and then mess with the charts, but I don't >>> know what use binding keypresses to the SVG would be. >>> >>> >>> On Tuesday, July 31, 2012 8:47:56 AM UTC-4, API Developer wrote: >>>> >>>> Hey asgallant, >>>> >>>> If I wanted to add keyboard functionality in the Google Chart API, >>>> would it be possible to use JQuery in a similar way to what's specified >>>> above? >>>> $('iframe').contents().find('**g**')... >>>> I'd imagine I'd need to use browser-based if statements to make sure >>>> this works, but is it possible? >>>> >>>> On Monday, July 30, 2012 5:02:26 PM UTC-4, asgallant wrote: >>>>> >>>>> 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 ..:) >>>>>> >>>>> >>> On Tuesday, July 31, 2012 8:47:56 AM UTC-4, API Developer wrote: >>>> >>>> Hey asgallant, >>>> >>>> If I wanted to add keyboard functionality in the Google Chart API, >>>> would it be possible to use JQuery in a similar way to what's specified >>>> above? >>>> $('iframe').contents().find('**g**')... >>>> I'd imagine I'd need to use browser-based if statements to make sure >>>> this works, but is it possible? >>>> >>>> On Monday, July 30, 2012 5:02:26 PM UTC-4, asgallant wrote: >>>>> >>>>> 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/-**/sKvKcOrxXYQJ<https://groups.google.com/d/msg/google-visualization-api/-/sKvKcOrxXYQJ> >>> . >>> >>> To post to this group, send email to google-visualization-api@** >>> googlegroups.com <[email protected]>. >>> To unsubscribe from this group, send email to google-visualization-api+* >>> *[email protected]<google-visualization-api%[email protected]> >>> . >>> For more options, visit this group at http://groups.google.com/** >>> group/google-visualization-**api?hl=en<http://groups.google.com/group/google-visualization-api?hl=en> >>> . >>> >> >> -- > 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/-/9KuN4InsKewJ. > > 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. > -- 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.
