Fixed linechart bug