I have tried to set min and max in my scatter chart in React JS, but it's not working.
Look at the code: https://stackblitz.com/edit/react-sgkrzf?file=Parent.js
Explanation: From parent - I am passing min={20} and max={40} to the child component.
Expected Behaviour:
=> Min and Max should apply by default, but both are not working together.
=> I want initially to apply min and max 20 and 40 respectively, than user can change range selector and on refresh, than changed value should be preserved.
For example,
=> Changing range selector (20,40) to (34,75) should be preserved after refreshing data (I mean to say calling API)
How to do this? Please modify above code and help me with the same.
Thank you.