Yes,the reason why i put set interval is because I am actually using the graph for real time data.So is it possible that graph is able to render while not losing the focus of the zoom? Because in this example the zoom does not disappear and the chart still keep renders. However putting in the tab div make things seems abit different.