I am trying to call each tree graph view of echarts on a toggle button click, for that for one toggle click i have called one method and for the reverse of this i am calling