Home Forums StockChart Support Entire chart is not showing after data points are updated in react

Entire chart is not showing after data points are updated in react

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

    Hi.
    I am rendering a chart which is showing up correctly at first. Here the minimum value of x is 87 and max is 187.
    Now programatically I am re-fetching the data where minimum x value is 200 and maximum is 400.
    On the network tab I see that the data is fetched correctly. What happens now is that the chart still starts at x-axis value 87 and ends at 200 and I am unable to see the data points for my new x-axis range.

    For x axis range 87 to 187
    For x axis range 87 to 187

    For x axis range 200 and 400 after data fetching

    As you can see it still shows x-axis from 87 to 187.

    Thanks

    #36405

    @mustadirmahmood,

    Can you kindly share sample project reproducing the issue you are facing over Google-Drive or Onedrive so that we can look into the code, run it locally at our end to understand the scenario better & help you resolve?

    From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.

    Having a sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.