LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XYGraph Secondary Axis

Solved!
Go to solution

Very simply problem: I have a few curves on a single XYGraph. How can I make the Y-axis for one of the curves a secondary axis?

See the attached VI.

 

I did give it a try, but I get Invalid Property Value error. My unerstanding is Plot.YScaleIdx = 0 for primary Y-axis and 1 for secondary Y-axis. Is this not the case?

 

0 Kudos
Message 1 of 2
(2,046 Views)
Solution
Accepted by topic author murchak

You need to duplicate the scale before you can write to it.

 

I did it manually, then your code worked without error.  I don't know if there is a programmatic way to duplicate the scale.

 

EDIT:  According to this http://forums.ni.com/t5/LabVIEW/how-to-show-duplicate-scale-programatically-on-chart-indicator/m-p/1... you can not programmatically create the scale.

Message 2 of 2
(2,032 Views)