Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Annotations associated with different X-axis on a plot

Solved!
Go to solution

I have a scatter graph with three different plots and two x-axis.  Is there a way to determine what x-axis an annotation is associated with?  When I set the position of the annotation for the third plot the annotation does not appear in the correct location because it is associated with the wrong x-axis.  I know I could scale the position of the annotation to match the correct location but I was hoping I could just change what x-axis the annotation was associated with.

 

Thanks

0 Kudos
Message 1 of 2
(3,304 Views)
Solution
Accepted by UmmGooD

UmmGooD,

 

The XYPointAnnotation class has a property XAxis which maintains the XAxis that your annotation is associated with.  Is this the class you are using?  If so, try modifying this property and see if that has an effect on your program.

Eric B.
National Instruments
0 Kudos
Message 2 of 2
(3,289 Views)