LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d graph axes labels versus valuepairs for axis

I have specific labels for each x axis item which contain a text string unique to that position.

I can not figure out how to write new valuepairs on to the x axis and get rid of the normal integer indices that are on the graph. I get a mixture of the two instead.  Anyone know how to do this?

 

In the attached VI below, the string "mylabel" is being written as a valuepair but I cant get rid of the other labels.

0 Kudos
Message 1 of 6
(3,401 Views)
Just to clarify, are you looking to remove all axis numbers and only show value pairs you set?
Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 2 of 6
(3,383 Views)

Yes, if it is possible.  I noticed since I wrote this that by removing the autoscale (Set =F) that the value pair will be written to the index of the axes label that it is set for.  0,1,2, MyLabel, 3, 4 will be displayed.  I still can not figure out how to just display My Label with no other items being displayed. 

 

What I have is a 3D Bar chart where I want each of the trends labeled as a text item.

0 Kudos
Message 3 of 6
(3,379 Views)

Hi id,

 

To give you more control over the 3D Curve, on the front panel right-click the 3D curve and choose CWGraph3D >> Properties...  This will let you test different settings quickly.  However, to my knowledge your last post is your best option. You could use extra value pairs as " " to eliminate the other labels.

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 4 of 6
(3,360 Views)

Is there a way to read back the current major tick values displayed in the control after an autoscale?

I am attempting to replace the labels with new labels using ValuePairs and I need to know what values are currently displayed.

 

The property "axCWGraph3D1.Axes.Item(2).Ticks.MajorDivisions" just gives me the setting, not the current value after an autoscale.

 

0 Kudos
Message 5 of 6
(3,211 Views)

Photon209,

 

You will probably want to use: Axis»Range»(Maximum, Minimum) so since it looks like you are using text based it might be: "axCWGraph3D1.Axes.Item(2).Range.Maximum"

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 6 of 6
(3,181 Views)