Oh.. i got it, IE < 9 uses VML instead of SVG [?]

On Wed, Sep 5, 2012 at 11:32 AM, Nikhil Agrawal <[email protected]>wrote:

> Thanks Asgallant .. it WOrked ... :)
> Does the content send my google chart changes when it is rendred in IE < 9
> ? Tried viewing it using developer tools, but it is not showing content
> inside the chart div .
>
>
> On Tue, Sep 4, 2012 at 8:58 PM, asgallant <[email protected]>wrote:
>
>> Which solution?  The mouse cursors?  If so, then it does work in IE8, but
>> you have to use the *whole* solution, not just the css.  See the
>> javascript here: http://jsfiddle.net/asgallant/W3Pss/, there is a bit in
>> the middle that makes it work in IE 7 and 8.  The code I wrote requires
>> jQuery (because it is much easier to work with, IMHO), but it can be
>> written in plain js too.
>>
>>
>> On Tuesday, September 4, 2012 1:36:02 AM UTC-4, Nikhil Agrawal wrote:
>>
>>> Hi Asgallant,
>>> The above solution is fine for every browser except IE8. In IE8 is
>>> doesnt seems to work.
>>>
>>> IS there some solution to it ? Please help me.
>>>
>>> On Sat, Aug 11, 2012 at 10:52 PM, Nikhil Agrawal <[email protected]>wrote:
>>>
>>>> Thanks asgallant
>>>>
>>>>
>>>> On Wed, Aug 1, 2012 at 2:05 AM, asgallant <[email protected]>wrote:
>>>>
>>>>> No, the events you can hook are based on things the charts do that you
>>>>> can create responses to.  Every visualization has a list of events that it
>>>>> can throw, see the "Events" section of the particular visualization (ie,
>>>>> for area charts: https://developers.**google.com/chart/interactive/**
>>>>> docs/gallery/areachart#Events<https://developers.google.com/chart/interactive/docs/gallery/areachart#Events>
>>>>> )**.
>>>>>
>>>>>
>>>>> On Tuesday, July 31, 2012 1:47:00 PM UTC-4, Nikhil Agrawal wrote:
>>>>>
>>>>>> is there any events for key in google api ? I noticed that mouseover
>>>>>> event was also not mentioned in the api reference. Don't it have a list 
>>>>>> of
>>>>>> all events supported?
>>>>>>
>>>>>> On Tue, Jul 31, 2012 at 11:14 PM, Nikhil Agrawal <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> That's great... :) I am also a  web-developer and works mostly in
>>>>>>> PHP and javascript.
>>>>>>>
>>>>>>> Anyways, thanks buddy for you help. !!
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jul 31, 2012 at 9:37 PM, asgallant 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> I am a web developer/data analyst/programmer, but most of my work
>>>>>>>> is coding in javascript and PHP.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, July 31, 2012 11:12:26 AM UTC-4, Nikhil Agrawal wrote:
>>>>>>>>
>>>>>>>>> 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/**ms******
>>>>>>>>>>>> g/google-visualization-api/-**/**s****KvKcOrxXYQJ<https://groups.google.com/d/msg/google-visualization-api/-/sKvKcOrxXYQJ>
>>>>>>>>>>>> .
>>>>>>>>>>>>
>>>>>>>>>>>> To post to this group, send email to google-visua...@**googl***
>>>>>>>>>>>> ***egroups.com.
>>>>>>>>>>>>
>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>> google-visualization-api+**unsub******[email protected].
>>>>>>>>>>>> For more options, visit this group at http://groups.google.com/
>>>>>>>>>>>> **group******/google-visualization-**api?hl=**e****n<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/**ms****g/google-visualization-api/-*
>>>>>>>>>> */**9**KuN4InsKewJ<https://groups.google.com/d/msg/google-visualization-api/-/9KuN4InsKewJ>
>>>>>>>>>> .
>>>>>>>>>>
>>>>>>>>>> To post to this group, send email to google-visua...@**googl****
>>>>>>>>>> egroups.com.
>>>>>>>>>>
>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>> google-visualization-api+**unsub****[email protected].
>>>>>>>>>> For more options, visit this group at http://groups.google.com/**
>>>>>>>>>> group****/google-visualization-**api?hl=**e**n<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/**ms**g/google-visualization-api/-**/**
>>>>>>>> 7FT33VYaV6YJ<https://groups.google.com/d/msg/google-visualization-api/-/7FT33VYaV6YJ>
>>>>>>>> .
>>>>>>>>
>>>>>>>> To post to this group, send email to google-visua...@**googl**
>>>>>>>> egroups.com.
>>>>>>>>
>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>> google-visualization-api+**unsub**[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/-**/rjP8jmoSmB0J<https://groups.google.com/d/msg/google-visualization-api/-/rjP8jmoSmB0J>
>>>>> .
>>>>>
>>>>> To post to this group, send email to google-visua...@**
>>>>> googlegroups.com.
>>>>>
>>>>> To unsubscribe from this group, send email to
>>>>> 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/-/Gs8Exu_ByasJ.
>>
>> 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.

<<328.png>>

Reply via email to