I am creating charts based on selection in list box on button click. Chart series are created on over another. If i click the button two times additional data points are created on older one. (see image)
How can I remove old series and its data or re-initialize? Echarts documentation talk about NoMerge option but how can i use it in jmix. (https://echarts.apache.org/en/api.html#echartsInstance.setOption