PlainThermometer issues

Apr 1, 2009 at 4:03 PM

Tried the latest stable release and had some issues with colours - using Silverlight version.

Downloaded the latest source as of today (April 1st 2009), rebuilt the library and the colour issues are the same, but now another problem has crept in. The control no longer seems to support 'TextColor' ??.

The colour issues I have are using the ColorPoint settings :

            <db:PlainThermometer x:Name="Thermo1" Value="15" Maximum="20" Minimum="-10">
                    <db:ColorPoint HiColor="#000000" LowColor="#0000FF" Value="-10" />
                    <db:ColorPoint HiColor="#000000" LowColor="#00FF00" Value="0" />
                    <db:ColorPoint HiColor="#000000" LowColor="#FF0000" Value="8" />

I wanted a simple Blue if too cold, green if OK and red if too high. The colours I get are a muddy approximation. The basic r g and b appear to be there but have vertical stripes making the colours very indistinct.

For testing I have the above in the xaml and then a couple of buttons which simply bump the Value up and down to see over the range. The level changes and the colours change but are not the right ones. Tested in Firefox 3.0.8 and IE 7

Any help would be much appreciated


Apr 1, 2009 at 4:05 PM
Sorry for the double post but the page crashed on me with the first one :-O - so I pressed refresh on my Browser :-O - seems to have posted twice ;-O.


Apr 1, 2009 at 4:27 PM
OK so its a gradient - probably why the color won't look clean. Even if I make lo and hi both red, or blue or green, it still looks messy :-((.

Is there  no way to turn off the gradient maybe ??.

NB reverted to the stable build as TextColor etc. are not supported in my build from source :-(.


Apr 1, 2009 at 10:31 PM

Thanks for the response - I found that making both colours the same red/red, green/green and blue/blue is closer to what I wanted - but is it not possible to just have a plain fill ??.

Apr 4, 2009 at 2:58 PM

I think the head revision now supports the new FaceTextColor and ValueTextColor, I think the plain thermometer you need the ValueTextColor. Looking

At you color ranges the low color is black which will certainly muddy the colors. If you look at the example at

you should get a better idea


The example of


<db:PlainThermometer x:Name="_ther2" TextColor="Aquamarine" Value="22">


<db:ColorPoint HiColor="#009900" LowColor="#44DD00" Value="0" />

<db:ColorPoint HiColor="#9DC800" LowColor="#DDCC00" Value="33" />

<db:ColorPoint HiColor="#660000" LowColor="#BB3300" Value="66" />




Is close to what you want.