4 Replies Latest reply on Jan 21, 2015 7:32 AM by keriw RSS
    keriw Apprentice

    State Definition Minimum Value

    Is there any way that you can set the state definitions so that you don't have to hard code the minimum value, it would be nice if it could be passed in from your dataset as sometimes the minimum is calculated or changes from data to data.





      • State Definition Minimum Value
        paic Collaborator

        Generally speaking when you apply a state definition, the state definition cut offs or value matches are exposed as bindable properties on the widget. So yes you can dynamically set the value.

         

        • State Definition Minimum Value
          keriw Apprentice

          I see where the value compare is bindable but I don't see where you can configure the cut off value.  It allows me to modify it but not bind it when I click on the statedefinition attached to the gauge (that's what I am currently working on using).  Can you explain what piece I am missing?

           

            • State Definition Minimum Value
              paic Collaborator

              From another Widget or Service you can take a value and bind that to the Cut-off that is exposed as a property.

               

              This follows exactly along the example that is in the Thingworx Fundamentals training when it covers styles and states and does the bindable cut-offs for the gauge.

            • State Definition Minimum Value
              keriw Apprentice

              perfect, thanks I see it now, it is called ValueFormatter_(what ever the description you defined is)