Home forums Chart Support Programmatic toggling of tooltips

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17449

    Bo

    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?

    #17471

    @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

    #17485

    @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.

    ___
    Suyash Singh
    Team CanvasJS

    #30252

    [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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.