Additional Data in Barchart JSON

62 views
Skip to first unread message

Ohmz

unread,
Aug 2, 2010, 8:23:19 PM8/2/10
to JavaScript InfoVis Toolkit
Does anyone know of an easy way to store additional data in the JSON
used for the stacked barchart visualization? It seems like because it
uses a special JSON structure and elem (as opposed to something like
node) you are only able to store the labels and values. I am hoping
there is a way to store another property that can then be called on
the hover tip.

Nico Garcia Belmonte

unread,
Aug 3, 2010, 2:51:01 AM8/3/10
to javascript-information...@googlegroups.com
I'm sorry, but there isn't. I'll take this into account for the next
minor release (alpha 2). For now you'll just have to keep a separate
hashmap with name -> data object somewhere and use that on the onShow
Tip callback.

> --
> You received this message because you are subscribed to the Google Groups "JavaScript InfoVis Toolkit" group.
> To post to this group, send email to javascript-information...@googlegroups.com.
> To unsubscribe from this group, send email to javascript-information-visua...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/javascript-information-visualization-toolkit?hl=en.
>
>

--
I would never die for my beliefs because I might be wrong.

Bertrand Russell

Reply all
Reply to author
Forward
0 new messages