Skip to Content
0
Former Member
Oct 18, 2007 at 03:48 PM

Dynamic Graphics Calculated Property Expressions ??

10 Views

Hi,

Can anybody tell me how i create the equivelant of below within the expression box of the Calculated Propertys, in the Dynamic Graphics editor. i.e. im trying to output a colour string based on an input value to the svg ??

If (Value == 0) {

"#FF3333"

}

else if (Value == 1) {

"#FFFF00"

}

else if (Value == 2) {

"FF9900"

}

else if (Value == 3) {

"#FF0000"

}

else{

"#C0C0C0"

}

Thanks,

Emmett