Gauge API Reference

Properties

analogDisplayType string needle
animation string advanced
coerce boolean false
customInterval boolean false
customTicks array 0,50,100
dateLabelFormatString string d
decimalSeparator string “.”
digitalDisplay boolean false
digitalDisplayPosition string bottom
disabled boolean false
drawNeedle function null
endAngle number 210
interval any 1
inverted boolean false
labelFormatFunction function null
labelsVisibility string all
locale string en
localizeFormatFunction function null
logarithmicScale boolean false
max any 100
mechanicalAction string switchWhileDragging
messages object {“en”:{“propertyUnknownType”:”‘{{name}}’ property is with undefined ‘type’ member!”,”propertyInvalidValue”:”Invalid ‘{{name}}’ property value! Actual value: {{actualValue}}, Expected value: {{value}}!”,”propertyInvalidValueType”:”Invalid ‘{{name}}’ property value type! Actual type: {{actualType}}, Expected type: {{type}}!”,”elementNotInDOM”:”Element does not exist in DOM! Please, add the element to the DOM, before invoking a method.”,”moduleUndefined”:”Module is undefined.”,”missingReference”:”{{elementType}}: Missing reference to {{files}}.”,”htmlTemplateNotSuported”:”{{elementType}}: Browser doesn’t support HTMLTemplate elements.”,”invalidTemplate”:”{{elementType}}: \”{{property}}\” property accepts a string that must match the id of an HTMLTemplate element from the DOM.”,”significantPrecisionDigits”:”{{elementType}}: the properties significantDigits and precisionDigits cannot be set at the same time.”,”invalidMinOrMax”:”{{elementType}}: Invalid {{property}} value. Max cannot be lower than Min.”,”noInteger”:”{{elementType}}: precisionDigits could be set only on \”floatingPoint\” scaleType.”}}
min any 0
mode string numeric
name string
needlePosition string center
precisionDigits number null
ranges array
readonly boolean false
scalePosition string inside
scaleType string floatingPoint
scientificNotation boolean false
showRanges boolean false
showUnit boolean false
significantDigits number null
sizeMode string circle
startAngle number -30
theme string
ticksPosition string scale
ticksVisibility string minor
unfocusable boolean false
unit string kg
value any 0
wordLength string int32

Events

change Event

Methods

focus Method
getOptimalSize Method
val Method