0

I am having issue with Chart component of Devextreme using Reactjs. On initial page load it load data of Series as defined but when we pan chart and load new data, it switch back to initial visual range.

Did wrote a logic to change visualRange when new data loads but still it goes back. What it should do is stay on newly updated visualRange. Defined visual in state of Reactjs. On option changed in chart it sets visualRange to e.previousValue. Please have a look at https://codesandbox.io/s/ecstatic-mountain-xxovrx?file=/src/QuestData.js

0 Answers0