Yes, you can add an ID column to your DataTable, but you need to use a 
DataView to hide the ID from the chart, as it won't know what to do with 
it.  See an example here: http://jsfiddle.net/asgallant/VWaTb/

On Tuesday, February 19, 2013 8:19:35 PM UTC-5, Khon Lieu wrote:
>
> Hi,
>
> A bit of background on what I want my chart to be able to do:
>
> I have a scatter chart, and each point represents an entry in my database. 
> I want to be able to get additional data related to that point from the db 
> when a user clicks on the entry (dot) to display the more detailed data.
>
> Is that possible with scatter chart? I can't seem to find a way to add an 
> id column to the data table and there doesn't seem to be a role for such a 
> feature.
>
> I was able to register the "select" listener and it calls my select 
> handler and I was able to get the value from the selected dot, but I need a 
> way to somehow know the id of the selected dot.
>
> If anyone knows that's possible or not, please let me know.
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to