Hi,

By default, setOption merges previous options. To remove series, you should
pass the new series and set the second parameter to `setOption` to be
false, which will disable the merge operation. See
http://echarts.apache.org/api.html#echartsInstance.setOption for more
information.

Zhang Wenli
http://zhangwenli.com


On Wed, Dec 12, 2018 at 4:05 AM Keerthi Prasad Sampath <
[email protected]> wrote:

> Hi,
>
>                 I have a scenario where I have to dynamically add and
> remove the series from the chart options. I am able to successfully add a
> series dynamically however when I remove a series from the chart options,
> the same is not reflecting the chart. Please let me know how to achieve
> this.
>
> --
> Thanks,
>
> Keerthi
>

Reply via email to