LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mitch_Peplow

Rotate Y-Axis Name on Charts/Graphs

Status: New

I wish there was a simple check box or rotation option for the Y-Axis name label on charts/graphs rather than having to do it programmatically.

 

Here is what I mean:

 

Y-Axis.PNG 

 

I emailed tech support and they confirmed there is no direct way but sent me a workaround which I've attached for reference.

 

Regards

 

Mitch

2 Comments
mistercat
Member

This technique relies on changing the vertical arrangement property of a decoration object.  

I have a graph that is on a Tab page.  

Can someone tell me how I would change the references to Front panel > Tab Page 0 > Waveform Chart?

 

If I insert the example code shown in this discussion, I get an error because the "deco" object will not reference to class "Text".

There are only 8 "deco" objects on my front panel and none of them are inside the graph.  Clearly, I need to reference the graph as part of the page before I can index objects, but I don't know how.

RavensFan
Knight of NI

I don't have an answer for you at the moment.  But I noticed something buggy about the VI that was posted above.  I opened it in LabVIEW 2013.  Dropped in a tab control, then dragged the chart onto the tab control.  The chart lost the 2nd Y-axis label.  The 2nd Y-axis label stayed behind on the front panel and didn't move with the chart onto that tab.