Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

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: