Skip to main content
1-Visitor
July 27, 2022
Solved

Independent state formatting for my label chart

  • July 27, 2022
  • 1 reply
  • 936 views

Dear ptc community,

i got a problem and couldn't find an answer like usual. For example my state format is like this now, everything under 30 is red, from 30 to 50 is yellow and  50 to 100 is green. The Problem now is i got like 16 values from 1 to 20000 and everything what is above 100 is automtically green. So my question is there anything like percentage state formatting or some other ways which could help me. Thx in forward.

Best answer by PaiChung

I don't know if % formatting is possible (yet) or not - I would put that in the Ideas/Request forum.

You can set the limits dynamically, so you can calculate and provide the limits with a service to your widget properties.

 

When you add state based formatting to a widget, the limits will become available as bindable properties.

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
July 28, 2022

I don't know if % formatting is possible (yet) or not - I would put that in the Ideas/Request forum.

You can set the limits dynamically, so you can calculate and provide the limits with a service to your widget properties.

 

When you add state based formatting to a widget, the limits will become available as bindable properties.

1-Visitor
August 8, 2022

To be honest i dont know how i should do that to set them dynamically und put them into a service.