clean plots
This commit is contained in:
parent
845a906f96
commit
980c454d3c
3 changed files with 5 additions and 3 deletions
|
|
@ -33,9 +33,7 @@ module.exports.create = function(widgetData,container) {
|
|||
|
||||
widget.setValue = function(v,send,sync){
|
||||
if (typeof v != 'number') return
|
||||
|
||||
led.css('opacity',mapToScale(v,[range.min,range.max],[0,1],widgetData.precision,widgetData.logScale,true))
|
||||
if (sync) widget.trigger('sync',[widgetData.id,widget])
|
||||
}
|
||||
|
||||
widget.setValue(range.min)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ module.exports.create = function(widgetData,container) {
|
|||
|
||||
widget.setValue = function(v,send,sync){
|
||||
widget.text(v)
|
||||
if (sync) widget.trigger('sync',[widgetData.id,widget])
|
||||
}
|
||||
|
||||
widget.setValue(label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue