I discovered that the dojox.charting.action2d.Tooltip
takes a custom function to provide the text for the labels. The challenge is that the text of the label that I want to display is contained within dojo.data.ItemFileReadStore
which the chart series is pointed at. I am trying to figure out some way to tie back the information passed in the object in the function to an item in the store. My understanding is that the notification object can contain the following:
I trued to access run.store
, which seemed logical to me, but I get back undefined
. y
contains the particular value that I am chasing after, but I can't use that to search the ItemFileReadStore
because I cannot guarantee that that would be unique. Ideally I am looking for some way of identifying specifically the item in the store that the current notification is being fired for.
http://docs.dojocampus.org/dojox/charting/ says that default text function looks for a custom tooltip text in 'Tooltip' property of the data point object.
I would try to rename the store's items' property that holds label into 'Tooltip'.