I am trying to create custom widgets by modifying the existing widgets in thingworx by modifying the .js and .css files of Gauge widget ,
I am successfully able to modify the properties but not able to modify the "ValueFormatter" Property ,i wanted to give a STATEDEFINITION property with default value of Gauge_Range which is a STATEDEFINITION in ThingWorx ,it shows the value in the Properties of thingworx but not shown in the mashup when loaded.
can anybody help for the same.
Also would like to know if their is any example for using the STATEDEFINITION in a widget ,
What can be the best way of creating a completely new widget by using the js files avaiable throught internet.