Home Forums Chart Support Problem with tooltip and “shared=true” with stackedArea

Problem with tooltip and “shared=true” with stackedArea

  • This topic has 4 replies, 2 voices, and was last updated 1 week ago by Rck.
Viewing 5 posts - 1 through 5 (of 5 total)
  • #60216

    Rck

    Hello Tech Team !

    I got a problem, please load this Fiddle to see it:
    https://jsfiddle.net/jzrdy72m/1/

    I’m using a stackedArea graph with “shared: true” into tooltip.
    I have some zone without data (ex: 40).
    I have one scatter point with “Bug” tooltip.

    The problem: When we are moving the mouse over the “40” line, the “bug” tooltip is displayed.
    What I would like: No tooltip displayed, because there is no dataserie value here.

    canvasjs_shared_bug

    Note: With “shared: false”, there is no problem.

    #60227

    @rck,

    Thank you for reporting the use case, we will look into it further. Meanwhile, you can work around this by adding a datapoint in the scatter chart with the concerned x value, and set y value as null, so that tooltip is not shown in that region.

    Please take a look at this updated JSFiddle for the working example of the same.

    area chart with null values


    Ananya Deka
    Team CanvasJS

    #60229

    Rck

    Hello Ananya !
    Thanks for the work around, but I will wait for one official fix because I have a lot of scatters ;)

    #60264

    [UPDATE]


    @rck
    ,

    We have released chart v3.10.19 with the above fix. Please refer to the release blog for more information. Do download the latest commercial version from My Account Page and let us know your feedback.


    Ananya Deka
    Team CanvasJS

    #60265

    Rck

    Hello Ananya,
    Thanks for the quick fix :)

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

You must be logged in to reply to this topic.