Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi,
i have a state definition value for the value from a value display widget. Now i want to overwrite this state definition value (e.g. <30) and give a another value (e.g <20) which is defined by the user itself.
I cannot change the state value property of the value widget even when i bind another value from a service to its source.It is not updating it. How can i achieve that?
In this example it should take the color yellow instead of red because the thresholds are set as shown in the led widgets. The Statedefinition Values from the Value widget are binded to the same service as the led widgets.
Hello,
I think that you can achieve that by modifying the StateDefinition entity through a service at runtime.
Resources["EntityServices"].UpdateStyleDefinition({
name: undefined /* STYLEDEFINITIONNAME */,
content: undefined /* JSON */
});
Cyril