Motion Chart: re-rendering upon statechange

26 views
Skip to first unread message

memcrshd

unread,
Feb 15, 2010, 7:18:56 PM2/15/10
to Google Visualization API
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, 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>

MC Get Vizzy

unread,
Feb 16, 2010, 4:01:28 AM2/16/10
to google-visua...@googlegroups.com
On Tue, Feb 16, 2010 at 2:18 AM, memcrshd <nage...@gmail.com> 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-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Sima Kan

unread,
May 18, 2012, 8:16:40 AM5/18/12
to google-visua...@googlegroups.com
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 <nage...@gmail.com> 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.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.

ChartMan

unread,
May 20, 2012, 3:55:07 AM5/20/12
to google-visua...@googlegroups.com
Every time something changes with the motion chart a 'statechange' event is dispatched.

If you want to track which entity is now selected look at the "iconKeySettings"
In the example above:  "iconKeySettings":[{"trailStart":"1988","key":{"dim0":"Apples"}}]


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 google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages