PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

possible to manually trigger a tooltip on a chart? #221

Open jmcmichael opened 8 years ago

jmcmichael commented 8 years ago

I have rendered several scatterplot charts, and wish to trigger a tooltip on a specific point on the other charts when a tooltip is displayed in response to a mouseover event on one of the charts. I haven't been able to find API functions to do this, so am looking into triggering tooltips on charts using references to the chart and series, as this code does here:

https://github.com/PMSI-AlignAlytics/dimple/blob/dbf65501fb5eebfe1755f5a7d0f3f112e5c654f9/src/objects/plot/bubble.js#L52

Is there a better way to do this besides digging into the chart internals?

PS Thanks for developing and releasing such a useful charting library!