LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Y-axis string values

Solved!
Go to solution

I created an XY graph with Y-axis values representing 9  different channels. See attached screesshot.

For example:
1 represents Channel27

2 represents Channel45

etc..

What I would like to do is to have the name of the channels written directly on the Y-axis instead of numbers.

Something similar to what has done here for 3D stem plots: http://forums.ni.com/t5/LabVIEW/3D-Stem-Graph-String-based-Axes/m-p/2589885/highlight/true#M779040

 

Problem is that I can't find a property similar to Value Pair Array in 2D graphs.

 

Does anyone have a suggestion?

 

Thank you!

MG

 

0 Kudos
Message 1 of 3
(2,216 Views)
Solution
Accepted by topic author MG70

Hi MG,

 

easy solution: hide the Y axis (both values and label) and show the plot legent. Label your plots according to your channel names…

 

More advanced solution: hide the Y axis and place some string indicators in that area. Move the string indicators to their exact position and output the channel name in them…

Best regards,
GerdW


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

 Thank You GerdW! 

 I like the workarounds you proposed and the graph looks very nice!

 

Thanks,

MG

 

 

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