An object that defines configuration options for the dxBarGauge widget.
Specifies animation options.
To make your gauge "live", enable animation for it by setting the enabled option of the animation object to true. In this instance, the gauge bars will appear in motion. In addition, within the animation object you can set an appropriate easing mode using the easing option, and specify how long the animation should run using the duration option.
Specifies a color for the remaining segment of the bar's track.
dxBarGauge displays values in the form of several circular bars each placed on a separate track. Since a bar indicates a value, it occupies only a segment of this track. The remaining segment is drawn in the color specified by the backgroundColor option.
Specifies a distance between bars in pixels.
Specifies a base value for bars.
By default, all bars start from the beginning of the gauge's scale. If you need to draw them starting from a specific scale value, assign the required value to the baseValue option. In this instance, each bar will display the range from the baseValue to the corresponding value specified to this bar.
Specifies an end value for the gauge's invisible scale.
Defines the shape of the gauge's arc.
Specify the startAngle and endAngle options of the geometry configuration object to customize the shape of the bar gauge's arc. This arc is drawn from the startAngle to the endAngle as illustrated by the following image.
Specifies the options of the labels that accompany gauge bars.
Each gauge bar is accompanied by a label that usually displays the value of the bar. Use the options of the label object to customize the label's text, specify its format, precision, font, and distance between the label and the bar.
To hide labels, use the label | visible option or assign false straight to the label option.
Specifies the appearance of the gauge loading indicator.
In most cases, a gauge is quick enough to draw itself instantly for a viewer. There can be cases, however, when a gauge takes longer to be drawn. In these cases, it is recommended that the loading indicator is displayed. Use the gauge's showLoadingIndicator() and hideLoadingIndicator() methods to manage the loading indicator. To specify its appearance, use the loadingIndicator configuration object.
In this example, the gauge options are assigned 2000 ms after the example is loaded. Until that time, the loading indicator is displayed. Its background and font are changed using the backgroundColor and font options respectively. Make a note that these options are specified at the beginning, so that changes are applied.
Sets the name of the palette or an array of colors to be used for coloring the gauge range container.
Use this option to set a predefined or custom palette. The colors listed in the specified palette will be used to draw bars. If the number of the bars is greater than the number of colors in the palette, palette colors are repeated, but slightly modified.
In addition, you can declare an array of colors and use it as a palette. Refer to the Palettes topic for more information on palettes.
Notifies a widget that it is embedded into the HTML page that uses a path modifier.
Specifies whether to redraw a gauge when the size of the parent browser window changes or a mobile device is rotated.
The size of the gauge never changes until its container has a fixed size. Alternatively, its size changes proportionally when the parent window size changes and the redrawOnResize is set to true.
Defines the radius of the bar that is closest to the center relatively to the radius of the topmost bar.
This option accepts values from the (0, 1) range.
Specifies the size of the widget in pixels.
The widget occupies the entire area of the parent container (division). If the container size (width or height) is set to zero, the widget is not displayed.
To set the widget to a specific size that differs from the container size, use the size configuration object. Assign a height and width in pixels to the height and width fields of this object respectively.
Specifies a start value for the gauge's invisible scale.
Specifies a subtitle for a gauge.
This option specifies the appearance of the gauge subtitle (the text below the title). If you need to specify only the subtitle text, assign it directly to the subtitle field. Otherwise, assign an object with the required subtitle options specified to the subtitle option. When a subtitle is not specified, the widget is displayed without it.
Specifies the name of the theme to be applied.
Use this option to specify the name of the theme that should be applied to a widget. For information on customizing and implementing themes, refer to the Themes topic.
Specifies a title for a gauge.
Use this option to set a text for the gauge title. If you need to specify only a text for the title, assign this text directly to the title field. Otherwise, assign an object with the required title options specified to the title option. When title is not specified, the widget is displayed without a title.
Specifies options for gauge tooltips.
A tooltip is a small pop-up rectangle that displays the value of the bar that is currently hovered over. You can enable or disable tooltips, format or customize the displayed text, and change the default appearance. Use the options of the tooltip configuration object to do this.
Specifies the array of values to be indicated on a bar gauge.