Allow line graph to be switched to traditional legend

Line graph still defaults to the legends being attached to the last point on the line, but in some cases this has all the legends overlapping, making them unreadable. In that case, the line graph can now be switched to the traditional legend block.