From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to change graph's annotations default color?

I would like to change the default yellow color of graph annotations at development.
 
I created code to list and change the color of annotations but this also negates color changes made by the user. The yellow used is only visible on dark graph backgrounds. I use white graph background for better printing.
0 Kudos
Message 1 of 3
(2,344 Views)
It's a little clunky, but you can create a graph as a custom control, edit all the properties the way you would like, and then add it to your palette view.  Every time you need a graph then, you pull your custom graph rather than the stock graph that ships with LV.

I suppose if you're feeling enterprising you could try to track down the original control in the LV system files and replace it with the style you like as well.

Hrm, 1:30am post... you might just take this with a grain of salt too! 🙂

Joe Z.
0 Kudos
Message 2 of 3
(2,337 Views)

Thanks Joe. That is some what of the long way around but it's worth it in this instance.

0 Kudos
Message 3 of 3
(2,314 Views)