Home Forums Report Bugs Range selector issue

Range selector issue

Viewing 3 posts - 1 through 3 (of 3 total)
  • #60521

    Hello. Range selector buttons don’t consider AxisY min max. Here is reproducible example:

    https://jsfiddle.net/Lowvjrt3/

    If you move range in navigator – everything is fine. If you press button then axisY min max wont be set and you wont see part of chart.

    #60528

    Chart update produces same behavior.
    If navigator is at max and you add some new points to dataPoints and call chart.render() it seems that rangeChange would not be called because such situation produces same result — some points will be above axisY.max

    #60531

    @genn7,

    You are encountering this issue because you’re modifying the axis minimum and maximum values within the rangeChanged event handler. Instead, performing all the necessary calculations within the rangeChanging event handler or calling stockChart.render() after completing the calculations in rangeChanged should resolve the problem. Please take a look at this updated JSFiddle for a working example.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.