08-23-2024 06:36 AM - edited 08-23-2024 06:41 AM
Hello All,
I am working on a data reduction VI which creates 2 plots vs time for the corresponding selected parameters from a dropdown - Y1 and Y2 vs X (usually time).
I have created an XY graph which displays this as Plot 0 and Plot 1. I have also created a 2nd axis on the right side for viewing Y2 vs X. But I cant seem to find a property node which will let me programmatically change the scale and labels of Y2 and Y1 separately. It only shows parameters for Y. Like I want publish an axis label and units based on the parameter the user selects but the property node only changes 1 of the 2 axes. I thought maybe for multiple axes the namelabel property can take an array of strings input but that idea also did not work.
Can someone please help? Much thanks!
Solved! Go to Solution.
08-23-2024 06:44 AM - edited 08-23-2024 06:46 AM
Hi fang,
@Silverfang- wrote:
But I cant seem to find a property node which will let me programmatically change the scale and labels of Y2 and Y1 separately. It only shows parameters for Y.
I thought maybe for multiple axes the namelabel property can take an array of strings input but that idea also did not work.
Can someone please help? Much thanks!
You need to set the "Active Y Scale" property before you set the properties for the selected scale…
08-23-2024 07:04 AM - edited 08-23-2024 07:07 AM