Class type Goog.​Ui.​gauge

class type gauge = object..end

Inherits


method getMinimum : int Js.meth

Returns The minimum value of the range.

method setMinimum : int -> unit Js.meth

Sets the minimum value of the range

method getMaximum : int Js.meth

Returns The maximum value of the range.

method setMaximum : int -> unit Js.meth

Sets the maximum number of the range

method setValue : int -> Js.js_string Js.t Js.opt -> unit Js.meth

Sets the current value range displayed by the gauge.

method setTicks : int -> int -> unit Js.meth

Sets the number of major tick sections and minor tick sections.

method setMajorTickLabels : string Js.js_array Js.t -> unit Js.meth

Sets the labels of the major ticks.

method setTitleTop : Js.js_string Js.t -> unit Js.meth

Sets the top title of the gauge. The top title is displayed above the center.

method setTitleBottom : Js.js_string Js.t -> unit Js.meth

Sets the bottom title of the gauge. The top title is displayed below the center.

method setTitleFont : Goog.Ggraphics.font Js.t -> unit Js.meth

Sets the font for displaying top and bottom titles.

method setValueFont : Goog.Ggraphics.font Js.t -> unit Js.meth

Sets the font for displaying the formatted value.

method setTheme : gaugeTheme Js.t -> unit Js.meth

Sets the color theme for drawing the gauge.

method addBackgroundColor : 
int -> int -> Js.js_string Js.t -> unit Js.meth

Set the background color for a range of values on the gauge.

method createDom : unit Js.meth

Creates the DOM representation of the graphics area.

method redraw : unit Js.meth

Redraws the entire gauge. Should be called after theme colors have been changed.

method enterDocument : unit Js.meth

Called when the component is added to the DOM.

method exitDocument : unit Js.meth

Called when the component is removed from the DOM.

method disposeInternal : unit Js.meth