How to remove Axis canvas

Hello, I am using dhtmlx charts to render serval graphs re-using the same container. Basically i have a menu to set up the data query and then i re-draw the new graph.
My problem is that i can’t find a way to remove or clear the axis canvas once created. I’ve try clearAll(), refresh() and clearCanvas() but axis still remains.
how can i manually remove this axis legends?

Hello
You can use method destructor() for it.

Thank you Darya. Works perfect now. althou took me some time to find out the misspell in the method name :stuck_out_tongue:

Oh, sorry… :blush:

lol, no problem!