Home Forums Report Bugs Library crashed when displaying custom Tooltip

Library crashed when displaying custom Tooltip

Viewing 4 posts - 1 through 4 (of 4 total)
  • #44705

    Description:

    In our provided fiddle: https://jsfiddle.net/0g6xcyev/2/ the library crashes on displaying the custom tooltip. After starting the fiddle, hover with your mouse over the window so it shows a tooltip.

    We fixed this crash by editing the source files of your library:

    Our temporary fix inside your file

    Error message before fix

    It would be great if you could fix this issue in your next release. Thank you very much.

    Best regards
    Jonas Michels

    #44712

    The uploaded images dont seem to be working so here are the links.

    Temporary fix: https://postimg.cc/rRTmdzzy

    Error message: https://postimg.cc/YGMjXbBf

    Best regards
    Jonas Michels

    #44727

    @reinhold,

    Thanks for reporting the use case. The error appears as you are trying to update the tooltip for the series that’s not present, as it is being removed and added after every 200ms. We will look into this case further to handle dynamic updates properly in future releases. In the meantime, you can try rendering the chart after adding the data series. Please take a look at the updated JSFiddle for an example on the same.

    __
    Sachin Bisht
    Team CanvasJS

    #44967

    @reinhold,

    We have released chart v3.8.2 with the above fix. Please refer to the release blog for more information. Do download the latest version from our download page and let us know your feedback.

    __
    Sachin Bisht
    Team CanvasJS

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

You must be logged in to reply to this topic.