kamalshah20 Report post Posted April 30, 2009 I am trying to use a bulb widget. This is the XML that I am using: '0.0' The color that shows up when I use this XML is B41527 - a shade of red when actually the color should be 399E38 which is a shade of green. Is there something I'm missing? Thanks Kamal Share this post Link to post Share on other sites
kamalshah20 Report post Posted May 4, 2009 I am attaching the XML since it is not showing up in the message. Thanks Kamal XML.txt Share this post Link to post Share on other sites
Dhruva Report post Posted May 4, 2009 Hello Kamal, You are inputting the value inside quotes, which is not valid. Also, the color range must be specified in ascending order, which was not the case in the XML you attached. I am pasting the modified XML here, please check: <chart bgColor='000000,000000' bgAlpha='100' canvasBgColor='000000' showValue = '' lowerLimit = '0.0' upperLimit = '1.0'> <colorRange> <color minValue='0.0' maxValue='0.0' code='399E38' /> <color minValue='0.5' maxValue='0.5' code='F87217' /> <color minValue='1.0' maxValue='1.0' code='B41527' /> </colorRange> <value>0.0</value> </chart> I hope this helps! Share this post Link to post Share on other sites
kamalshah20 Report post Posted May 4, 2009 Of course it does help... in fact it solved my problem! You guys are the best! Thanks Kamal Share this post Link to post Share on other sites
Dhruva Report post Posted May 4, 2009 You're most welcome! Share this post Link to post Share on other sites