Home Forums StockChart Support rangeChanged is getting fires on drag multiple times

rangeChanged is getting fires on drag multiple times

Viewing 2 posts - 1 through 2 (of 2 total)
  • #30663

    Hi ,
    I am using stock chart in my react app and rendering multiple chart in stock charts, the problem i am facing is that whenever i am changing using slider range changed function is called on each drag, but required behavior is it should get called whenever i am done dragging the slider.

    Is this issue specific to canvas js react implementation ? please suggest the possible solution

    #30677

    @gaurav-sharma6,

    This behavior is by design. By default, dynamicUpdate property is set to true because of which the StockChart is updated dynamically while updating range using Slider. You can override this behavior by setting the dynamicUpdate property to false.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.