Home Forums StockChart Support zoom reset not working after call to render

zoom reset not working after call to render

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

    The zoom reset button stops working as soon as data is changed dynamically and stockChart.render() is called.

    Please fix.

    JSFiddle:
    https://jsfiddle.net/jcmalek/rqe8nt93/21/

    #37671

    @scroteau,

    Clicking the reset button of an individual chart will reset the axis range to its previous state just before rendering the stockchart. In your case, you are calling stockchart.render() within rangeChanged event. Once the reset button is clicked, it gets the axis range values from viewportMinimum & viewportMaximum just before calling render, i.e. updated values from the slider.


    Adithya Menon
    Team CanvasJS

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

You must be logged in to reply to this topic.