You must be logged in to post your query.
Home › Forums › Chart Support › Programmatic toggling of tooltips
I’m working with multiple charts on a page, and I would like to show tooltips for datapoints on all of them. Is this possible?
@aborchew,
As of now, syncing tootTips across multiple charts isn’t possible, out of the box. However, we are considering it for the future versions. For now we will create a work-around and get back to you at the earliest.
___ Suyash Singh Team CanvasJS
@arborchew,
You can sync toolTips across charts by getting the pixel co-ordinates from the first chart & then triggering an event in second chart and so on. convertValueToPixel() and convertPixelToValue() methods can be used to getting the pixel co-ordinates & corresponding values. Here is a jsfiddle for the same. Please note that there may be a slight variation in x-value as pixel co-ordinates are used.
[UPDATE] @aborchew,
We have just released v3.0 Beta-1 with this feature. Please refer to the release blog for more information. Do download the latest version from download page & let us know your feedback.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register