fix loading LineChart