The example has an image report item in a library. It has 2 user properties - highValue and lowValue. It has a named expression - RGYBindingName<br />
<br />
When used in a design all you need to is set the user properties and set the named exprsion. These can be found in the advance properties. <br />
<br />
The code used is below:
val = new Number(this.getNamedExpressionValue("RGYBindingName"));
if (val >= this.getUserPropertyValue("highValue")) {
this.URI = "up.gif";
}
else if (val <= this.getUserPropertyValue("lowValue")) {
this.URI = "down.gif";
}
else {
this.file = "even.gif";
}