Hiding the dashed line in a text crescendo

Text crescendi (or decrescendi, ritardandi, etc.) show a dashed line by default. To hide this spanner line, simply set the dash-period of DynamicTextSpanner (or TextSpanner if you use one for rit.) to a negative value.