Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A Gauge shows a single value within a defined minimum and maximum range
val make :
?min:float ->
?max:float ->
?units:string ->
?width:int ->
?thresholds:(float * colour) list ->
value:float ->
label:string ->
unit ->
t
Create a gauge with a given value and label. By default a gauge will be a percentage i.e. with min = 0, max = 100, units = " %". The thresholds allow customisation of the colour, e.g. green, amber, red if that helps interpret the meaning of the value.