Home forums Chart Support Performance-Problem with CanvasJS

Tagged: 

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

    We need to plot a lot of data in a Canvas-JS Linechart. So my solution so far was to write a algorithm that reduces the shown points…

    That had a few nasty side effects like really ugly curves sometimes…

    So I found a library (simplify-js: https://mourner.github.io/simplify-js/) that would take care of that in a proven way.

    What would be the easiest possibility to use that library with canvas.js?

    #30610

    @karakal,

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

    —-
    Manoj Mohan
    Team CanvasJS

    #30612

    MAybe a few more inputs from my side:

    Right now I use the library to reduze the data points before “feeding” it to the linechart. I save the full datapoints in another structure. When the user presses freeze, I replace the reduced datapoints with the full datapoints…

    It would be nice, if I could activate this for each line separately and the linechart would take care of this for me…

    Thx for your time…

    #30628

    @karakal,

    Please take a look at this JSFiddle for integrating CanvasJS with simplify.js.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.