Fixed some issues with line graphs.