Configure and add State Definition as below and then bind the widget state definition to it also add Style Definition to the state rules . As long as Display Name to be shown
i guess it is not possible instead we need both value and display name should be same .. but one thing we can do in the data service itself
a) Check the for the the data for instance if data==1 or data==2 then showCondition="Cool" or showCondition="Hot" and then add the state definition to the showCondition
field itself for String/Value option exactly as String/Value=Cool and DisplayName="Cool" then add proper style definition you wish to give .
Hope this helps
HuiLan, the 'Display Name' field not accessible, that's a field definition for users to know what the state is when building a Mashup. If you do want to display something with your value, does using images/ icons make sense? You can edit your Style Definition and add an image for that particular style/ state indicating the current temperature (hot/ cool).