fixing the linechart