ShowToggle show/hide gantt chart

I found the show_chart property which can be set on the init, but is there a way to toggle the chart on and off?

Hello,

gantt.render(); should help to resolve this issue, but it does not work as expected.
gantt.refreshData(); works the way you want, but I think it is not quite what you need. Unfortunately, we can’t offer you something else at present time.
docs.dhtmlx.com/gantt/snippet/43207627