LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color zero line on chart

Solved!
Go to solution

I'm generating a voltage signal and display it on a chart.

I would like to make the zero Volt orizontal line in a special color, or anyway more visible.

Is there a way to do it with the property of the chart?

0 Kudos
Message 1 of 4
(2,999 Views)
Solution
Accepted by topic author simo28

Hi simo,

 

add a 2nd plot to your chart (showing a zero constant) and set the plot properties to any color/line thickness/style you want…

 

If you would use a graph instead of a chart you might use a cursor too…

Best regards,
GerdW


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

Hi simo28,

 

It is better to use graph instead of chart and then create an arry of  "0" elements and feed your data and this new array to graph.

 

no of  "0" can be equal to no of elements in your actual array. use colour as per your need.Graph.png 

With Regards

Miraz
Kudos is better option to thank somebody on this forum
------------------------------------------------------------------------------
Message 3 of 4
(2,960 Views)

Thank you both!

 

Regards

0 Kudos
Message 4 of 4
(2,927 Views)