-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
BUGunexpected behaviorunexpected behavior
Description
Bug Report
Issue: Setting IsVisible=false on one plot, hides subsequent plots
Reproducing: Add a plot, set IsVisible=False on it, add more plots. Subsequent plots are also invisible (or not there at all?) and even manually setting IsVisible=true on them doesn't help.
private void Form1_Load(object sender, EventArgs e) {
double[] data1 = new double[10000];
double[] data2 = new double[10000];
for (int i = 0; i < 10000; i++) data1[i] = 100;
Signal s1 = formsPlot1.Plot.Add.Signal(data1);
s1.LineStyle.Color = Colors.Red;
s1.LineStyle.Width = 5;
s1.IsVisible = false;
Signal s2 = formsPlot1.Plot.Add.Signal(data2);
s2.LineStyle.Color = Colors.Blue;
s2.LineStyle.Width = 5;
s2.IsVisible = true;
}System Details
- ScottPlot Version: 5.0.10-beta
- Operating System: Windows 10
- Application Type: WinForms
- .NET Version: .NET 8.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BUGunexpected behaviorunexpected behavior
