Every time something changes with the motion chart a 'statechange' event is
dispatched.
See this example:
http://savedbythegoog.appspot.com/?id=2c13f6785883108c27b18ede9c517dd56b93c526
If you want to track which entity is now selected look at the
"iconKeySettings"
In the example above:
"iconKeySettings":[{"trailStart":"1988","key":{"dim0":"Apples"}}]
On Fri, May 18, 2012 at 3:16 PM, Sima Kan <[email protected]> wrote:
> Hi!
>
> Just wondering if you've had any luck with this. I'm trying to create
> something with similar functionality - not redrawing the original chart
> though, but rendering a new motion chart based on the selection.
>
> Thanks,
> SimaKan
>
>
> On Tuesday, February 16, 2010 4:01:28 AM UTC-5, MC Get Vizzy wrote:
>>
>>
>>
>> On Tue, Feb 16, 2010 at 2:18 AM, memcrshd <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I need to accomplish the following w/ the Motion Chart(MC):
>>>
>>> 1. When my MC loads first time, it will have some summary level
>>> details for a set of entities pulled via a master CSV as datasource.
>>> 2. When the user clicks on one of these entities(bubbles), there's a
>>> statechange event generated by the MC. Using this event, I want to be
>>> able to find out the entity selected,
>>
>> currently, the MC does not expose information about what entity was
>> clicked on. this sounds like a good feature request, though.
>>
>>> then run another CSV query
>>> specific to this entity and re-draw the MC.
>>>
>>> Is this possible? Has anyone done something like this -
>>>
>>> Appreciate help,
>>>
>>> Cheers
>>> </memcrshd>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Visualization API" group.
>>> 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/-/xpZnyh8t1NIJ.
>
> 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.