Sorry for my wrong answer earlier in this thread!

MC Get Vizzy

On Wed, Feb 22, 2012 at 12:32 PM, Jinji <[email protected]> wrote:

>
>
> On Tue, Feb 21, 2012 at 10:36 PM, asgallant <[email protected]>wrote:
>
>> The 'select' event fires when the colored blocks in the legend are
>> clicked.
>
>
> Note the the upcoming release will make the event file also when clicking
> the legend text (not only the colored box next to the legend text).
>
> When hooked into the event handler, the chart's #getSelection method
>> should return a single-element array containing an object with a null 'row'
>> property and a 'column' property corresponding it's index in the underlying
>> DataTable/DataView.  See http://jsfiddle.net/XRwTT/
>>
>> Neither the legend as a whole nor the individual text entries fire events
>> in the API, though.  If you need to trigger events off of them, it is
>> theoretically possible to do so using standard javascript to dig into the
>> chart container's internal iframe's contents and hook events into the SVG
>> components therein.  This can be problematic as:
>>
>> 1) it is not easy to identify specific chart components
>> 2) the internals of the charts can change without warning, breaking your
>> code
>> 3) IE uses VML charts instead of SVG, so you would need a separate code
>> path to handle IE.
>>
>> --
>> 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/-/2JhABfZuGQ8J.
>> 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.
>

-- 
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