Module Goog.Ui.Gauge
module Gauge : sig..end
val _RED : Js.js_string Js.t
Constant for a background color for a gauge area.
val _GREEN : Js.js_string Js.t
Constant for a background color for a gauge area.
val _YELLOW : Js.js_string Js.t
Constant for a background color for a gauge area.
val _FACTOR_RADIUS_FROM_SIZE : float
The radius of the entire gauge from the canvas size.
val _FACTOR_MAIN_AREA : float
The ratio of internal gauge radius from entire radius. The remaining area is the border around the gauge.
val _FACTOR_COLOR_RADIUS : float
The ratio of the colored background area for value ranges. The colored area width is computed as InternalRadius * (1 - FACTOR_COLOR_RADIUS)
val _FACTOR_MAJOR_TICKS : float
The ratio of the major ticks length start position, from the radius. The major ticks length width is computed as InternalRadius (1 - FACTOR_MAJOR_TICKS)
val _FACTOR_MINOR_TICKS : float
The ratio of the minor ticks length start position, from the radius. The minor ticks length width is computed as InternalRadius (1 - FACTOR_MINOR_TICKS)
val _FACTOR_NEEDLE_FRONT : float
The length of the needle front (value facing) from the internal radius. The needle front is the part of the needle that points to the value.
val _FACTOR_NEEDLE_BACK : float
The length of the needle back relative to the internal radius. The needle back is the part of the needle that points away from the value.
val _FACTOR_NEEDLE_WIDTH : float
The width of the needle front at the hinge. This is the width of the curve control point, the actual width is computed by the curve itself.
val _FACTOR_NEEDLE_HINGE : float
The width (radius) of the needle hinge from the gauge radius.
val _FACTOR_TITLE_FONT_SIZE : float
The title font size (height) for titles relative to the internal radius.
val _FACTOR_TITLE_OFFSET : float
The offset of the title from the center, relative to the internal radius.
val _FACTOR_VALUE_FONT_SIZE : float
The formatted value font size (height) relative to the internal radius.
val _FACTOR_TICK_LABEL_FONT_SIZE : float
The title font size (height) for tick labels relative to the internal radius.
val _FACTOR_VALUE_OFFSET : float
The offset of the formatted value down from the center, relative to the internal radius.
val _TITLE_FONT_NAME : Js.js_string Js.t
The font name for title text.
val _NEEDLE_MOVE_MAX_STEP : float
The maximal size of a step the needle can move (percent from size of range). If the needle needs to move more, it will be moved in animated steps, to show a smooth transition between values.
val _NEEDLE_MOVE_TIME : int
Time in miliseconds for animating a move of the value pointer.
val _MAX_EXCEED_POSITION_POSITION : float
Tolerance factor for how much values can exceed the range (being too low or too high). The value is presented as a position (percentage).
