gridLines now drawn behind line. Legend is not shown if not enough screen space