Steps to reproduce
- Make a
LineAnnotation with some text.
- Set
StrokeThickness to a non-zero value and Stroke to an OxyColor.
- Observe that you can't set a
Background like with TextAnnotation
- At runtime, observe that the
Stoke and StrokeThickness properties are ignored.
Platform: Windows 11
.NET version: 6.0.6
OxyPlot version: 2.1.0+ custom-built from e3c42f7
Expected behaviour
I can set a Background property on my LineAnnotation and the Stoke and StrokeThickness properties aren't ignored.
Actual behaviour
I can't set a Background, and the stroke ones are ignored at runtime (no border box is drawn)
Steps to reproduce
LineAnnotationwith some text.StrokeThicknessto a non-zero value andStroketo anOxyColor.Backgroundlike withTextAnnotationStokeandStrokeThicknessproperties are ignored.Platform: Windows 11
.NET version: 6.0.6
OxyPlot version: 2.1.0+ custom-built from e3c42f7
Expected behaviour
I can set a
Backgroundproperty on myLineAnnotationand theStokeandStrokeThicknessproperties aren't ignored.Actual behaviour
I can't set a
Background, and the stroke ones are ignored at runtime (no border box is drawn)