LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphics

Hi everyone,

 

I'd like to know if it is possible instead of using number as scale style uses string or other stuff.

I know that in the graph properties/scale I can manipulate some itens.

What I mean is:In the Y-Axis instead 1,2,3 and 4 I want to use strings FPLAN,LAN,SDLC and UART

 

4

3

2

Y-axis

 

FPLAN

LAN

SDLC

UART

Y-axis

 

Thans

 

Kito

0 Kudos
Message 1 of 18
(4,039 Views)

You may want to hack the example I posted here to do the Y-Axis instead of the X-Axis.

 

 

Ben

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

Thanks Ben. It's going to help me a lot. But, is there any easier way to do that?

 

Regards

 

Kito

0 Kudos
Message 3 of 18
(4,005 Views)

Kito wrote:

Thanks Ben. It's going to help me a lot. But, is there any easier way to do that?

 

Regards

 

Kito


Easier than having someone figure out how to do it ahead of time and pointing you to it? Smiley Very Happy

 

If there is I would very much like to hear about it, after all, I am here to learn.

 

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 18
(3,999 Views)

Ben wrote:

Kito wrote:

Thanks Ben. It's going to help me a lot. But, is there any easier way to do that?

 

Regards

 

Kito


Easier than having someone figure out how to do it ahead of time and pointing you to it? Smiley Very Happy

 

If there is I would very much like to hear about it, after all, I am here to learn.

 

Ben


 

I guess if he had LabVIEW 2009, he could just drag the code to his block diagram as a snippet.

That would be easier....

Cory K
0 Kudos
Message 5 of 18
(3,994 Views)

Sorry Ben, I am a begginer. That's why I asked that. I couldn't do even that example that you posted it.

 

 

Regards

 

Kito

0 Kudos
Message 6 of 18
(3,991 Views)

Also, since you want your text on the y-axis instead of the x,

you wont need any of the code that rotates the text.

There, that simplified it even more Smiley Very Happy

Cory K
0 Kudos
Message 7 of 18
(3,989 Views)

Ben could you help me to fix my structure.

Following attached what I've done.

 

Regards

0 Kudos
Message 8 of 18
(3,984 Views)

Kito wrote:

Thanks Ben. It's going to help me a lot. But, is there any easier way to do that?


I like Ben's solution, and I believe there should be an easy way to do it.  Since you have fixed y values, why not make a little room on the graph, remove the existing scale (and title) and add some text labels by hand.  Disable y-axis autoscale and you are all set.

0 Kudos
Message 9 of 18
(3,957 Views)

If you want this feature in an upcoming version of LabVIEW, please vote for my idea here. 😄

 

So far it did not get such a great response. 😞

0 Kudos
Message 10 of 18
(3,948 Views)