Skip to content

Cookbook: document marker with different fill and outline colors #4715

@swharden

Description

@swharden

there may be something broken so double-check the logic controlling marker outline color

using ScottPlot;
Plot myPlot = new();
var marker = myPlot.Add.Marker(0, 0);
marker.LineWidth = 5;
marker.Size = 20;
marker.MarkerLineColor = Colors.Green; // THIS ISNT WORKING?
marker.MarkerStyle.OutlineColor = Colors.Orange; // this does it?
marker.MarkerFillColor = Colors.Blue;
myPlot.SavePng("demo.png", 400, 300).LaunchInBrowser();

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