clearChart before new chart created