disabled clearChart() to avoid flashing in firefox