Change the font color of a trend object
Change the font color of a trend object
Is it possible to change the font color of a trend object?
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Change the font color of a trend object
Hi amadier,
Yes, you can change the font color as well as other aspects of the trend chart. Just select the trend chart and go to the Property Grid. Then look for the section that says FontColor.
Yes, you can change the font color as well as other aspects of the trend chart. Just select the trend chart and go to the Property Grid. Then look for the section that says FontColor.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Change the font color of a trend object
I'm sorry, i don't told this but i want to change it by script.
Thanks
Thanks
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Change the font color of a trend object
The only way to dynamically change the font color is using tag values. You can set the font color based on the value in a tag. In a script you could then change the value of the tag, which in turn will change the font color. To access tags in a script you do:
Code: Select all
Globals.Tags.Tag1.Value = 1
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer