cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

valuedisplay widget

JackEom
14-Alexandrite

valuedisplay widget

I use a value display widget to make it red if it's smaller than 10, and

bigger than 10, smaller than 20 blue, finally

bigger than 20, smaller than 30 green.

What can I do?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

You can use state base formatting , if you are using valuedisplay widget (not ptcs-valuedisplay).

State base should look like this in Properties of widget > Value Format (this is an example, you need to adjust the values):

raluca_edu_0-1585557565334.png

Hope it helps,

Raluca Edu

View solution in original post

6 REPLIES 6

Hi,

 

You can use state base formatting , if you are using valuedisplay widget (not ptcs-valuedisplay).

State base should look like this in Properties of widget > Value Format (this is an example, you need to adjust the values):

raluca_edu_0-1585557565334.png

Hope it helps,

Raluca Edu

JackEom
14-Alexandrite
(To:raluca_edu)

Thank you for answering me, Raluca Edu.

 

but Like the photo 'test2" I don't see the "< "as you

 

I worked with Photo "test" 

 

Is it right to do this?

 

 

Hi,

 

It is ok as in 'test' image, you need to create state definition first.

Sorry, I forgot to mention you that.

 

Raluca Edu

JackEom
14-Alexandrite
(To:raluca_edu)

Your advice has helped a lot. Could you help me with one more thing?

 

The 'state' image it is smaller than 10, it is blue

 

but In mashup, 4 appears green  why is that?

Hi,

 

If you edited the style from Value Format of value display widget then the state definition was not updated.

If you edited the style from State Definitions, please attach export of mashup and state definition to take a look.

 

Thanks,

Raluca Edu

 

JackEom
14-Alexandrite
(To:raluca_edu)

Thank you for response.

It was a great 

Top Tags