DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

REPORT y-axis autoscale when x-axis manual scale

If I have a REPORT 2D axis with one curve, y-axis autoscale but x-axis manual scale, the y-axis autoscale still seems to still use that channel's entire min/max, rather than the local min/max for that x-axis scale. Is there a way to autoscale like VIEW does when I "zoom in" with a band cursor?

 

I hope I am missing something simple, or is this a feature request? 

 

Thanks!

Julia

 

 
 

VIEWvsREPORT.jpg

 

Message 1 of 5
(3,148 Views)

Hi Julia,

 

You could create and use a Curve Transformation to make this more integrated, but I'm afraid at present there's no way around pulling out the subset of values into a separate channel and plotting the subset channel.  I know of no REPORT graph scaling options that will apply the local minimum/maximum of the values that are visible on the graph.

 

I think it would be good to request this as a new feature-- I wouldn't think it would be that hard to implement in a future DIAdem version.  You know the drill with the DIAdemIdeas page.

 

Brad Turpin

Principal Technical Support Engineer

National Instruments

0 Kudos
Message 2 of 5
(3,009 Views)

@Brad_Turpin wrote:

Hi Julia,

 

You could create and use a Curve Transformation to make this more integrated, but I'm afraid at present there's no way around pulling out the subset of values into a separate channel and plotting the subset channel.  I know of no REPORT graph scaling options that will apply the local minimum/maximum of the values that are visible on the graph.

 

I think it would be good to request this as a new feature-- I wouldn't think it would be that hard to implement in a future DIAdem version.  You know the drill with the DIAdemIdeas page.

 

Brad Turpin

Principal Technical Support Engineer

National Instruments


I did everything, thanks for help.

0 Kudos
Message 3 of 5
(2,976 Views)

Julia/Brad,

I've had this request in for over 4 years 🙂 :

https://forums.ni.com/t5/DIAdem-Idea-Exchange/Optional-REPORT-Y-Axis-auto-scaling-for-manual-X-Axis-...

 

We do so programmatically for specific sheets where it's necessary.

  • Determine the X-Range (usually the "last 30 days" for data that's months long)
  • Determine the Y Channel (we usually only have 1 curve and 1 Y Axis)
  • Do channel statistics on the Y channel for the corresponding X rows to get the Min/Max (would need to do this for each curve associated with each Y Axis)
  • Set the Y-range to the Min/Max of those stats (plus some buffer)

This is only really done for graphs we're creating programmatically, it would be more painful for "on the fly" changes that may have multiple curves/axes, so would be much better if it were built-in...

 

-Josh

Message 4 of 5
(2,928 Views)

Thanks, Josh! I have "liked" your idea 😊

0 Kudos
Message 5 of 5
(2,925 Views)