-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
BUGunexpected behaviorunexpected behaviorGood First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributors
Description
Bug Report
Issue:
scatter.LineStyle = LineStyle.NoLine not applied. Even this has setten to that value, it renders the line.

If you are facing to this bug, you can instead use scatter.LineStyle.Color = Colors.Transparent. This works fine(Not renders the line)

Reproducing:
using ScottPlot;
double[] dataX = new double[] { 1, 2, 3, 4, 5 };
double[] dataY = new double[] { 1, 4, 9, 16, 25 };
var myPlot = new ScottPlot.Plot();
var scatter = myPlot.Add.Scatter(dataX, dataY);
scatter.LineStyle = LineStyle.NoLine;
myPlot.SavePng("quickstart.png", 400, 300);System Details
- ScottPlot Version: 5.0.6 beta(latest in nuget include prerelease)
- Operating System: Mac OS 13.4.1
- Application Type: Console
- .NET Version: .NET 6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BUGunexpected behaviorunexpected behaviorGood First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributors