Suggestion: I am displaying a plot which has multiple lines, for each line I display a legend. User can hide some of the lines but legend for that line is still visible - I need to recreate the Plot.Legend.ManualItems every time I do this and add/remove the affected lines from/to legend.
Plot.Legend.ManualItems.Add(new() {
Label = "label1",
IsVisible = true // add something like this - the default would be true
});
later in code
Plot.Legend.ManualItems[0].IsVisible = false;
Thanks for considering this,
Libor