Skip to content

Marker.MarkerLineWidth stopped working after v5.0.27 #3755

@CD-SailingPerf

Description

@CD-SailingPerf

Issue: Creating a marker with Shape = ScottPlot.MarkerShape.FilledCircle, setting MarkerLineWidth and MarkerLineColor stopped working after v5.0.27

ScottPlot Version: v5.0.31

ScottPlot.Plot myPlot = new();
ScottPlot.Plottables.Marker mrk = myPlot.Add.Marker(new ScottPlot.Coordinates() { X = 5, Y = 5 });
mrk.Size = 100;
mrk.Color = ScottPlot.Colors.Black.WithAlpha(0.5f);
mrk.MarkerLineWidth = 2;
mrk.MarkerLineColor = ScottPlot.Colors.Black; 
mrk.Shape = ScottPlot.MarkerShape.FilledCircle;
myPlot.SavePng("bug.png");

v5.0.27:

image

v5.0.31:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions