Multiview chart error

Hi,

I've got a problem which this snippet demonstrates:

https://snippet.webix.com/6pbvbr6s

When you click the button, it replaces the textarea with a chart and this works fine. However, when you click that button again, which replaces the chart with another view (the same chart), it throws an error on the call to enable that view.
Oddly, this only happens when there are multiple series on the chart...
This is just a cut down version of what I'm trying to do, and it demonstrates the error.

Can anybody help me understand why it is getting an error?

Thanks.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion