-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Good 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:
Plotting off-screen, setting legend location with plt.GetLegend().Alignment seems to have no effect.
Reproducing:
double[] xData = Enumerable.Range(0, 10).Select(x => x * 0.1).ToArray();
double[] yData = Enumerable.Range(0, 10).Select(x => x * 0.1).ToArray();
Plot plt = new ScottPlot.Plot() { };
Scatter scatter = plt.Add.Scatter(xData, yData);
s1.Label = "Plot 1";
plt.GetLegend().Alignment = Alignment.UpperRight;
plt.SavePng("test.png", 640, 480);Sample from an actual plot I was making, UpperRight (or any other location) didn't help moving the legend.

System Details
- ScottPlot Version: 5.0.2-beta
- Operating System: Win10
- Application Type: console
- .NET Version: NET 6.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good 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