I've got a Screen with a TrendViewer on it and I can show the legend using the code
Code: Select all
Trendviewer1.ShowLegend(100,100);
Because I think it's not possible, I tried to make my own legend-window.
I can show/hide the curves also with the code
Code: Select all
this.TrendViewer1.Curves[0].IsVisible = true;
Code: Select all
this.TrendViewer1.Curves[0].IsVisible = false;
If I use
Code: Select all
ShowHistory("On")
Code: Select all
ShowHistory("Off")
The show/hide buttons on the "official" legend let the curves dissapear/appear completely, which is what I need.
Is there any other possibility to show/hide the curves?
Thanks for helping