Hello,
is it possible to change the color of a trend curve during runtime?
Also I'm wondering how the TrendViewer object works - I first thought about GDI+, but then I read that it is not supported on the CF-Framework?
Thank you for your support!
TrendViewer change Curve-Color?
-
- Posts: 26
- Joined: Tue Oct 09, 2012 12:56 am
TrendViewer change Curve-Color?
Best regards,
Philip Joebstl
Philip Joebstl
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: TrendViewer change Curve-Color?
There is no way to change the color of a curve. You can make a curve visible/invisible by setting the IsVisible property of the curve object.
this.TrendViewer1.Curves[0].IsVisible = false;
You could try creating multiple curves that are attached to the same tag and then show/hide the curves depending on what color you want to show.
I do not know how they built the TrendViewer object.
this.TrendViewer1.Curves[0].IsVisible = false;
You could try creating multiple curves that are attached to the same tag and then show/hide the curves depending on what color you want to show.
I do not know how they built the TrendViewer object.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer