NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: reAutoScale

Don Murray wrote:
> 
> Bill-
> 
> Bill Hibbard wrote:
> 
> > As Don says, you can setData(null) to remove the Data from
> > auto-scaling (you might also want to call the suppressExceptions(true)
> > method of your DataRenderer), then call setData(data) when you
> > want to see the data again. That would save you removing and
> > adding DataReferences.
> 
> If I have a DataReference with a FlatField in it and I then
> call setData() with a new FlatField, does the autoscaling logic kick
> in (if it is enabled)?
> 

That is the approach I am now using and auto scaling is working.

Doug

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: