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: Change colors in Display

Hi Mathias,

> Of course you are right. There is no setForegroundColor in DisplayRenderer. 
> I'm sorry 'bout that.
> I don't exactly know what you mean with the ConstantMap implementation. But 
> it's quite easy to change the color of lets say the x-axis. You
> only have to take the ScalarMap which has the Display.XAxis as its 
> DisplayRealType and to call its setScaleColor-method to change the color of
> the axis. So there is no need to implement ConstantMaps.

Don Murray recently added a setForegroundColor() method to
DisplayRenderer, but I have not gotten a chance to release
it yet. I will soon.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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