Fix undefined included with last point in lines graph.