Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Change the font color of a trend object
PostPosted: Wed May 02, 2012 3:21 am 

Joined: Wed May 02, 2012 3:17 am
Posts: 2

Offline
Is it possible to change the font color of a trend object?


 Profile  
 
 Post subject: Re: Change the font color of a trend object
PostPosted: Wed May 02, 2012 8:36 am 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
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.

Attachment:
Snap 2012-05-02 at 08.33.25.png
Snap 2012-05-02 at 08.33.25.png [ 172.02 KiB | Viewed 3188 times ]

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
 Post subject: Re: Change the font color of a trend object
PostPosted: Wed May 02, 2012 11:07 am 

Joined: Wed May 02, 2012 3:17 am
Posts: 2

Offline
I'm sorry, i don't told this but i want to change it by script.
Thanks


 Profile  
 
 Post subject: Re: Change the font color of a trend object
PostPosted: Wed May 02, 2012 12:50 pm 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
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:
Globals.Tags.Tag1.Value = 1


Attachment:
Snap 2012-05-02 at 12.46.11.png
Snap 2012-05-02 at 12.46.11.png [ 193.69 KiB | Viewed 3184 times ]

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: