Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity plot zoom is backwards with inverted YAxis.

Solved!
Go to solution

     In order to make my intensity plot data draw from the top down, I inverted the YAxis using the YAxis.Inverted property.  This worked perfectly.  However, when attempting to zoom in on the intensity plot, the zoom function is not inverted.  That is, if you zoom in on the top of the graph, it actually zooms in from the bottom.  Is there any way to fix this?

 

Thanks,

Jon

0 Kudos
Message 1 of 2
(3,191 Views)
Solution
Accepted by topic author JonB

Hello Jon -

 

This is unfortunately a known issue (id 290072).  I think the only way you can really work around this issue is to remember the axis range before the zoom occured, and then assign a new range object to the axis that fixes the incorrect zoom by handling the Zoom event.  I've attached some source for a quick workaround I just wrote - maybe you'll find it useful.

 

This issue will be fixed in the next service pack release, which will be out later this summer.

 

I'm sorry for the inconvenience -

 

NickB

National Instruments

0 Kudos
Message 2 of 2
(3,189 Views)