react-stockcharts
react-stockcharts copied to clipboard
Error when updating chart with xAxis data outside previous range
The error:
My Code:
The log:
My findings:
It seems that every time the data is updated with xAxis values outside the previous range, this error appears. There must be something like a cache not updating in time.
Example: My previous xAxis date range was Beginning of June 2020 until today. Then my update - as you can see in the logs - tries to set the dates to June 20 1970 - June 20 2021.
Expected behaviour: The chart updates correctly and shows the xAxis range 1970 - 2021.
A workaround would also help - like completely resetting the chart component so that this cache or whatever it is is really resetted.
It would be appreciated a lot!