Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: VID dynamic layout

From: henrikmk:g:mail at: 19-Jan-2010 15:08

On Tue, Jan 19, 2010 at 1:46 PM, Thorsten Moeller <tmoeller-fastmail.fm> wrote:
> Hello Henrik, > > i think i understand what you try to do but what i don't understand is > the result from it. > > I have 2 further questions: > > 1. Why is the bar in my result still blue, no matter what kind of value > i use? Especially because it mentioned nowhere.
it's possible that if you feed it integers, the values will be seen as sizes and if you specify an integer twice, it's likely that one of them will be ignored. Also it seems my example was a bit wrong. Here's a tested version of the CASE: case [ line/5 > 0.9 [255.0.0] line/5 > 0.7 [255.240.0] true [0.128.0] ] Also you need to specify a color before the case, otherwise the case color is seen as a background color.
> 2. is it possible to set the Maximum Value of the bar to 100? I have > Values which might be very small. Using only values lower than one > result in having very small values i i have to transform them before. I > am experiencing problem with values like 0.03 already and have to > convert them to money if they appear in the resultset.
PROGRESS acts on a decimal value between 0 and 1, so the best way is to divide or multiply the value approproiately to fit between 0 and 1. -- Regards, Henrik Mikael Kristensen