09-11-2025 01:19 PM
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.
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!
09-11-2025 01:42 PM
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?
09-11-2025 02:44 PM
@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.
09-12-2025 01:32 AM
Are you looking for "XScale.Grid Colors:Major Color" and "XScale.Grid Colors:Minor Color".