Home > front end >  Every real-time refresh data, click on the legend
Every real-time refresh data, click on the legend

Time:09-27

Consult everybody, react - for - echarts do real-time refresh curve, how to do it click the legend has been hidden line, next time won't appear when the refresh data, until I again, click the legend will start with the react, typescript,

CodePudding user response:

Written in what relations is not big, the important thing is what is logic?

Refresh when you want to know the status of the previous, you will need to save the state, can choose the front (localStorage, cookies... ) can also choose to back-end database... ), you can distinguish between users also can not distinguish, refresh after obtaining state, can be used to switch a system the dispatchAction show hidden, specific according to your requirements to do good,
  • Related