2014-10-15 17:29:47 -04:00
< div class = "editor-row" >
2015-10-27 13:17:28 +01:00
< div class = "section tight-form-container" style = "margin-bottom: 20px" >
2015-01-16 08:50:26 +01:00
< div class = "tight-form" >
2015-01-16 09:31:38 +01:00
< ul class = "tight-form-list" >
< li class = "tight-form-item" style = "width: 80px" >
< strong > Big value< / strong >
< / li >
< li class = "tight-form-item" >
Prefix
< / li >
< li >
< input type = "text" class = "input-small tight-form-input"
2016-01-27 19:07:39 -05:00
ng-model="ctrl.panel.prefix" ng-change="ctrl.render()" ng-model-onblur>
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Value
< / li >
< li >
2016-01-27 19:07:39 -05:00
< select class = "input-small tight-form-input" ng-model = "ctrl.panel.valueName" ng-options = "f for f in ['min','max','avg', 'current', 'total']" ng-change = "ctrl.render()" > < / select >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Postfix
< / li >
< li >
< input type = "text" class = "input-small tight-form-input last"
2016-01-27 19:07:39 -05:00
ng-model="ctrl.panel.postfix" ng-change="ctrl.render()" ng-model-onblur>
2015-01-16 09:31:38 +01:00
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "tight-form" >
< ul class = "tight-form-list" >
< li class = "tight-form-item" style = "width: 80px" >
< strong > Font size< / strong >
< / li >
< li class = "tight-form-item" >
Prefix
< / li >
< li >
2016-01-27 19:07:39 -05:00
< select class = "input-small tight-form-input" ng-model = "ctrl.panel.prefixFontSize" ng-options = "f for f in ctrl.fontSizes" ng-change = "ctrl.render()" > < / select >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Value
< / li >
< li >
2016-01-27 19:07:39 -05:00
< select class = "input-small tight-form-input" ng-model = "ctrl.panel.valueFontSize" ng-options = "f for f in ctrl.fontSizes" ng-change = "ctrl.render()" > < / select >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Postfix
< / li >
< li >
2016-01-27 19:07:39 -05:00
< select class = "input-small tight-form-input last" ng-model = "ctrl.panel.postfixFontSize" ng-options = "f for f in ctrl.fontSizes" ng-change = "ctrl.render()" > < / select >
2015-01-16 09:31:38 +01:00
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "tight-form" >
< ul class = "tight-form-list" >
< li class = "tight-form-item" style = "width: 80px" >
< strong > Unit< / strong >
< / li >
2015-04-14 17:13:39 +02:00
< li class = "dropdown" style = "width: 266px;"
2016-01-27 19:07:39 -05:00
ng-model="ctrl.panel.format"
dropdown-typeahead="ctrl.unitFormats"
dropdown-typeahead-on-select="ctrl.setUnitFormat($subItem)">
2015-01-16 09:31:38 +01:00
< / li >
2015-03-12 19:36:50 +01:00
< li class = "tight-form-item" >
Decimals
< / li >
< li >
2015-10-27 13:17:28 +01:00
< input type = "number" class = "input-small tight-form-input last" placeholder = "auto" bs-tooltip = "'Override automatic decimal precision for legend and tooltips'" data-placement = "right"
2016-01-27 19:07:39 -05:00
ng-model="ctrl.panel.decimals" ng-change="ctrl.render()" ng-model-onblur>
2015-03-12 19:36:50 +01:00
< / li >
2015-01-16 09:31:38 +01:00
< / ul >
< div class = "clearfix" > < / div >
2014-10-15 18:16:04 -04:00
< / div >
< / div >
2014-11-22 15:26:23 +01:00
< / div >
< div class = "editor-row" >
2015-01-12 17:02:58 +01:00
< div class = "section" style = "margin-bottom: 20px" >
2015-10-27 13:17:28 +01:00
< div class = "tight-form last" >
2015-01-16 09:31:38 +01:00
< ul class = "tight-form-list" >
< li class = "tight-form-item" style = "width: 80px" >
< strong > Coloring< / strong >
< / li >
< li class = "tight-form-item" >
Background
2016-01-27 19:07:39 -05:00
< input class = "cr1" id = "ctrl.panel.colorBackground" type = "checkbox"
ng-model="ctrl.panel.colorBackground" ng-checked="ctrl.panel.colorBackground" ng-change="ctrl.render()">
< label for = "ctrl.panel.colorBackground" class = "cr1" > < / label >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Value
2016-01-27 19:07:39 -05:00
< input class = "cr1" id = "ctrl.panel.colorValue" type = "checkbox"
ng-model="ctrl.panel.colorValue" ng-checked="ctrl.panel.colorValue" ng-change="ctrl.render()">
< label for = "ctrl.panel.colorValue" class = "cr1" > < / label >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
2016-01-25 16:27:00 +01:00
Thresholds< tip > Define two threshold values< br /> 50,80 will produce: < 50 = Green, 50:80 = Yellow, > 80 = Red< / tip >
2015-01-16 09:31:38 +01:00
< / li >
< li >
2016-01-27 19:07:39 -05:00
< input type = "text" class = "input-large tight-form-input" ng-model = "ctrl.panel.thresholds" ng-blur = "ctrl.render()" placeholder = "50,80" > < / input >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Colors
< / li >
< li class = "tight-form-item" >
2016-01-27 19:07:39 -05:00
< spectrum-picker ng-model = "ctrl.panel.colors[0]" ng-change = "ctrl.render()" > < / spectrum-picker >
< spectrum-picker ng-model = "ctrl.panel.colors[1]" ng-change = "ctrl.render()" > < / spectrum-picker >
< spectrum-picker ng-model = "ctrl.panel.colors[2]" ng-change = "ctrl.render()" > < / spectrum-picker >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item last" >
2016-01-27 19:07:39 -05:00
< a class = "pointer" ng-click = "ctrl.invertColorOrder()" > invert order< / a >
2015-01-16 09:31:38 +01:00
< / li >
< / ul >
< div class = "clearfix" > < / div >
2014-10-15 17:29:47 -04:00
< / div >
< / div >
2015-01-12 17:02:58 +01:00
< / div >
2014-10-15 17:29:47 -04:00
2015-01-12 17:02:58 +01:00
< div class = "editor-row" >
< div class = "section" style = "margin-bottom: 20px" >
2015-10-27 13:17:28 +01:00
< div class = "tight-form last" >
2015-01-16 09:31:38 +01:00
< ul class = "tight-form-list" >
< li class = "tight-form-item" style = "width: 80px" >
< strong > Spark lines< / strong >
< / li >
< li class = "tight-form-item" >
Show
2016-01-27 19:07:39 -05:00
< input class = "cr1" id = "ctrl.panel.sparkline.show" type = "checkbox"
ng-model="ctrl.panel.sparkline.show" ng-checked="ctrl.panel.sparkline.show" ng-change="ctrl.render()">
< label for = "ctrl.panel.sparkline.show" class = "cr1" > < / label >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Background mode
2016-01-27 19:07:39 -05:00
< input class = "cr1" id = "ctrl.panel.sparkline.full" type = "checkbox"
ng-model="ctrl.panel.sparkline.full" ng-checked="ctrl.panel.sparkline.full" ng-change="ctrl.render()">
< label for = "ctrl.panel.sparkline.full" class = "cr1" > < / label >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Line Color
< / li >
< li class = "tight-form-item" >
2016-01-27 19:07:39 -05:00
< spectrum-picker ng-model = "ctrl.panel.sparkline.lineColor" ng-change = "ctrl.render()" > < / spectrum-picker >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
Fill Color
< / li >
2015-10-27 13:17:28 +01:00
< li class = "tight-form-item last" >
2016-01-27 19:07:39 -05:00
< spectrum-picker ng-model = "ctrl.panel.sparkline.fillColor" ng-change = "ctrl.render()" > < / spectrum-picker >
2015-01-16 09:31:38 +01:00
< / li >
< / ul >
< div class = "clearfix" > < / div >
2014-11-02 11:36:11 +01:00
< / div >
2014-10-19 19:36:59 -04:00
< / div >
< / div >
2014-11-22 15:26:23 +01:00
< div class = "editor-row" >
2015-01-12 17:02:58 +01:00
< div class = "section" style = "margin-bottom: 20px" >
2015-10-27 13:17:28 +01:00
< div class = "tight-form last" >
2015-01-16 09:31:38 +01:00
< ul class = "tight-form-list" >
< li class = "tight-form-item" >
< strong > Value to text mapping< / strong >
< / li >
2016-01-27 19:07:39 -05:00
< li class = "tight-form-item" ng-repeat-start = "map in ctrl.panel.valueMaps" >
< i class = "fa fa-remove pointer" ng-click = "ctrl.removeValueMap(map)" > < / i >
2015-01-16 09:31:38 +01:00
< / li >
< li >
2016-02-29 10:05:00 +01:00
< input type = "text" ng-model = "map.value" placeholder = "value" class = "input-mini tight-form-input" ng-blur = "ctrl.render()" >
2015-01-16 09:31:38 +01:00
< / li >
< li class = "tight-form-item" >
< i class = "fa fa-arrow-right" > < / i >
< / li >
< li ng-repeat-end >
2016-02-29 10:05:00 +01:00
< input type = "text" placeholder = "text" ng-model = "map.text" class = "input-mini tight-form-input" ng-blur = "ctrl.render()" >
2015-01-16 09:31:38 +01:00
< / li >
2014-11-22 15:26:23 +01:00
2015-01-16 09:31:38 +01:00
< li >
2016-01-27 19:07:39 -05:00
< a class = "pointer tight-form-item last" ng-click = "ctrl.addValueMap();" >
2015-01-16 09:31:38 +01:00
< i class = "fa fa-plus" > < / i >
< / a >
< / li >
2014-11-22 15:26:23 +01:00
2015-01-16 09:31:38 +01:00
< / ul >
< div class = "clearfix" > < / div >
2014-11-22 15:26:23 +01:00
< / div >
< / div >
2014-10-17 10:38:15 -04:00
< / div >