LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change color of marker lines (horizontal & vertical) in XY Graph

Hello,

 

I'm using LV 2021 SP1.

 

I've figured out how to produce horizontal and vertical lines at specified coordinates in an XY Graph. But I can't find the property that changes the color of these "marker" lines.

 

abvenk_0-1757614459075.png

 

abvenk_1-1757614534762.png

The color of these marker lines seems fixed. I've tried all the color related properties. Any ideas, please?

 

Of course, I know I can create X and Y arrays made of real points and draw that and change its color. But the above code is minimal and works beautifully for my application. I would just like to change the colors and maybe the thickness of these marker lines.

 

Thanks!

0 Kudos
Message 1 of 4
(137 Views)

Hi abvenk,

 


@abvenk wrote:

I've figured out how to produce horizontal and vertical lines at specified coordinates in an XY Graph. But I can't find the property that changes the color of these "marker" lines.

 

The color of these marker lines seems fixed. I've tried all the color related properties. Any ideas, please?


There is a "marker colors" property and a "tick colors" property - for each axis separately…

 

Have you thought about using annotations or cursors?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(117 Views)

@GerdW wrote:

Hi abvenk,

 


@abvenk wrote:

I've figured out how to produce horizontal and vertical lines at specified coordinates in an XY Graph. But I can't find the property that changes the color of these "marker" lines.

 

The color of these marker lines seems fixed. I've tried all the color related properties. Any ideas, please?


There is a "marker colors" property and a "tick colors" property - for each axis separately…

 

Have you thought about using annotations or cursors?


I tried marker colors and tick colors. They only change the color of the scale markers and ticks, not the lines themselves. 

 

I haven't looked at annotations or cursors. I will try them. Thanks.

0 Kudos
Message 3 of 4
(87 Views)

Are you looking for "XScale.Grid Colors:Major Color" and "XScale.Grid Colors:Minor Color".

Message 4 of 4
(62 Views)