fixed linechart flickering