Home Forums Chart Support Shared tooltip without common X variable

Shared tooltip without common X variable

Viewing 2 posts - 1 through 2 (of 2 total)
  • #17676

    Hello,
    I made chart that represents 4 independent temperatures. I also had to simplify database so in affect neither of lines share Date on X axis.
    I would like to use shared tooltip but it shows usually only one value in certain point in my case. Is it possible to show estimated value from another dataPoints (or the nearest value) in shared tooltip?

    #17698

    @coolex,

    Shared tooltip works for dataPoints sharing the same X values by default. You can use entries of contentFormatter to modify the tooltip as per your requirements. Entries contains all the dataSeries and dataPoints which can be used to find the nearest value and show it in toolTip.

    —–
    Bivek Singh,
    Team canvasJS

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

You must be logged in to reply to this topic.