add spinner when load graph data