-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
BUGunexpected behaviorunexpected behavior
Description
Bug Report
Issue:
Based on #1415, when a plot contains an AxisLine (in my particular case a HLineVector) with Min or Max property set and one calls GetDataLimits, the resulting AxisLimits should contain Min, Max instead of
Reproducing:
var formsPlot1 = new ScottPlot.FormsPlot();
var horizontalLine = new HLineVector()
{
Ys = new double[] { 5 },
Min = 1,
Max = 10,
};
formsPlot1.Plot.Add(horizontalLine);
formsPlot1.Render();
var limits = formsPlot1.Plot.GetDataLimits();
Debug.WriteLine($"Limits: xMin: {limits.XMin}, xMax: {limits.XMax}, yMin: {limits.YMin}, yMax: {limits.YMax}");System Details
- ScottPlot Version: 4.1.60
- Operating System: Windows 10
- Application Type: WinForms
- .NET Version: .Net 6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BUGunexpected behaviorunexpected behavior