Home forums Using CanvasJS Tooltip in overlapping charts

This topic contains 3 replies, has 2 voices, and was last updated by  Indranil Deo 8 months, 2 weeks ago.

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

    I have a line chart overlapped by scatter chart.
    When I hover over the scatter chart point, then the tooltip for the line chart is shown.
    Is there any way I can configure which tooltip to show when hovering over an overlapped point?

    https://jsfiddle.net/QwZuf/1017/

    #20049

    Indranil Deo
    Member

    @himanshu_tanwar,

    You can try shared toolTip to show the contents in a common bubble. Please take a look at this updated jsfiddle.

    ___________
    Indranil Deo,
    Team CanvasJS

    #20052

    I don’t want to show all the y values at a particular x value.

    https://jsfiddle.net/QwZuf/1064/
    In this fiddle, at point x=50, the tooltip shows all the 3 y values.

    Is there any way I can know in the tooltip’s contentFormatter function which point the mouse is on. The shared=true option gives a list of all the Y values and not the Y-values where the mouse currently is.

    Hope what I am asking is clear. If you need more clarification then please do let me know.

    #20062

    Indranil Deo
    Member

    @himanshu_tanwar,

    Sorry, this feature is not available as of now.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.