LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Axis legend

I want to hide the legend text on an axis. I'm using a number of custom divisions instead. Setting the Visible property on the Axis to false obviously doesn't work (since it hides the custom divisions as well). It sound pretty trivial, but I can't seem to find it. Any ideas?

greetz.
Piscator
0 Kudos
Message 1 of 5
(2,479 Views)
Hi Piscator

You're talking about the axis label, right? Use the property X Scale (or Y Scale) > Name Label > Visible.

Daniel

0 Kudos
Message 2 of 5
(2,474 Views)
No. I'm talking about the text of the legend itself: the numbers. I only want the custom divisions to show on the y-axis, not the numbers of the actual values.

I actually meant to post this in the Measurement Studio forum, but LabView looks much alike.

greetz,
Piscator
0 Kudos
Message 3 of 5
(2,471 Views)
If you want to do it at design time you can right-click the graph > X/Y Scale > Style.
To do it programmatically the property is X/Y Scale > Style. Just feed it with a number from 0-8 according to the icons you see if you change it manually. I think number 2 or 8 is what you're looking for.
0 Kudos
Message 4 of 5
(2,467 Views)
Thanks for your help, dan_u.

The numbers of the Axis appear to be generated by the MajorDivisions property (I wasn't aware of that). So setting the LabelVisible property to false on that worked as a charm. So it was in the direction of your first answer.

greetz,
Bert


0 Kudos
Message 5 of 5
(2,460 Views)