Home forums Report Bugs ToolTipContent Breaks StackedArea Chart

This topic contains 3 replies, has 2 voices, and was last updated by  npshannon 3 weeks, 4 days ago.

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

    npshannon
    Member

    Hello,

    I am trying to create multiple stacked area charts on one page and to show a custom tooltip by editing the toolTipContent attribute of the data. Unfortunately, the page breaks as soon as you mouse over a few points. I tried to then simplify it and just have a single chart on the page and see if perhaps it would work with just one. Unfortunately, it still breaks. See this jsfiddle (https://jsfiddle.net/npshannon/m03b67q5/) which replicates the style of tooltip I was creating. After you mouse over a few points, you will see the page stop responding and will eventually need to kill it. This was tested in Chrome, Edge, and FireFox.

    Is this a memory limitation because I’m using a custom tooltip across multiple sets of data? Please advise.

    Thank you

    #21893

    Priyanka M S
    Member

    @npshannon,

    We are looking into it and will get back to you at the earliest.

    __
    Priyanka M S
    Team CanvasJS

    #21907

    Priyanka M S
    Member

    @npshannon,

    Thanks for reporting this use-case. It seems to happen when you are trying to format tooltip content using {#percent%} for the dataPoints that has y value 0 and tooltip is shared. We will fix this issue in our future releases.

    __
    Priyanka M S
    Team CanvasJS

    #21970

    npshannon
    Member

    Thank you very much for looking into this, Priyanka. I will look forward to that new release.

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

You must be logged in to reply to this topic.