You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/11/21 06:03:58 UTC

[GitHub] [echarts] pissang commented on issue #6202: Problems when updating chart through echartsInstance.setOption()

pissang commented on issue #6202:
URL: https://github.com/apache/echarts/issues/6202#issuecomment-974761211


   Sorry to be late here. 5.0 introduces a new parameter `replaceMerge` that can remove series or any component without loosing interaction states from other components, like legend selection.
   
   https://echarts.apache.org/en/api.html#echartsInstance.setOption
   
   Example usage:
   
   ```ts
   myChart.setOption({
     series: newSeriesHere
   }, { replaceMerge: ['series'] })
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org