LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph-Non numeric values for scale

Hi,
 
I am working with a graph in which i have to associate with each numeric value in the X axis ,a curresponding string also.
 
ie,if X axis's first scale marker is 100 then,in X1 axis(Duplicate scale of Xaxis),i have to represent AA instead of 100.
(X axis-100,200,300 then X1 axis-AA,BB,CC)
Nothing related to plottin as values can be got from the X axis.For the user friendliness only,have to add the strings corresponding to values.
How can i do this?
 
One more doubt for me...
 
I want the graph to be maximised /minimised when the user clicks resize window button.But currently,when the user clicks resize window buttton(on top right corner,the entire VI is getting minimised/maximised.Is there a way to achieve my requirement?
 
Thanks in advance
 
 
0 Kudos
Message 1 of 4
(3,440 Views)
Unlike the scales of slides, the scales of graphs don't support text labels.
 
I agree that this would be a useful feature.
 
If you have a newer version of LabVIEW, maybe you can use the "plot images" node to add your labels. You could also add a hidden slide indicator, with only the text label scale visible and manipulate it according to the current x-axis.
 
 
You can use filtering events to do whatever you want if the user tries to maximize or minimize the window. Just discard the event and do your own song and dance. 🙂
0 Kudos
Message 2 of 4
(3,439 Views)
Thank you for your reply sir.
 
I am not much familiar with filtering events.Can you please explain how can i  maximise the graph with the use of filtering events.
 
Thanks once again
0 Kudos
Message 3 of 4
(3,428 Views)

In this thread  I posted an example that illustrates how to use the picture control to establish text lables.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 4
(3,414 Views)