X Tutup
Skip to content

Background property is missing on PathAnnotations and Stoke properties are ignored #1900

@colejohnson66

Description

@colejohnson66

Steps to reproduce

  1. Make a LineAnnotation with some text.
  2. Set StrokeThickness to a non-zero value and Stroke to an OxyColor.
  3. Observe that you can't set a Background like with TextAnnotation
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup