Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
animationDuration | Number | 1000 | ||||||
Determines the animation in milliseconds. To disable this property - set it to0 (zero). Code examples
Get the
|
||||||||
backgroundColor | String | '#e0e0e0' | ||||||
Sets or gets the jqxBarGauge background color. Code examples
Set the
Get the
|
||||||||
barSpacing | Number | 4 | ||||||
Sets or gets the space between the segments of the jqxBarGauge. Code examples
Set the
Get the
Try it: barSpacing is set to '12'
|
||||||||
baseValue | Number | null | ||||||
Sets the base value of jqxBarGauge. Code examples
Set the
Get the
Try it: baseValue is set to '30'
|
||||||||
colorScheme | String | 'scheme01' | ||||||
Sets the jqxBarGauge's color palette. jqxBarGauge suppports 27 color schemes from 'scheme01' to 'scheme27'. I's possible to set custom scheme in combination with "customColorScheme" property. Code examples
Set the
Get the
Try it: colorScheme is set to 'scheme02'
|
||||||||
customColorScheme | String | 'scheme01' | ||||||
Sets custom color palette in the BarGauge. This is used in combination with "colorScheme" property. Code examples
Set the
CustomColorScheme Properties:
Get the
|
||||||||
disabled | Boolean | false | ||||||
Sets or gets the values of the disabled property of jqxBarGauge. By default is false. Code examples
Set the
Get the
Try it: disabled is set to false
|
||||||||
endAngle | Number | 0 | ||||||
Sets or gets the endAngle of the BarGauge. Used to create geometry of the arc in the space. Code examples
Set the
Get the
|
||||||||
formatFunction | Object | null | ||||||
Sets or gets the formatFunction of the BarGauge. Used to make changes on the particular segment. Code examples
Set the
The formatFunction is a string or object with properties.
Get the
|
||||||||
height | Number | 400 | ||||||
Sets or gets the BarGauge's height. Code examples
Set the
Get the
Try it: height is set to 900
|
||||||||
labels | Object | null | ||||||
This property is used to make fine settings on BarGauge labels at each segment. Code examples
Set the
Labels Properties:
Get the
|
||||||||
max | Number | 100 | ||||||
Sets or gets the end value of BarGauge. Code examples
Set the
Get the
Try it: max is set to '60'
|
||||||||
min | Number | 0 | ||||||
Sets or gets BarGauge's min. This property specifies the beggining of the BarGauge's scale. Code examples
Set the
Get the
Try it: min is set to -25
|
||||||||
relativeInnerRadius | Number | 0.3 | ||||||
Sets or gets the relativeInnerRadius of jqxBarGauge. It's value represents the proportion between inner and outer radius. Code examples
Set the
Get the
Try it: relativeInnerRadius is set to 0
|
||||||||
rendered | Function | null | ||||||
This function is called when the BarGauge is initialized and the binding is complete. Code examples
Set the
|
||||||||
startAngle | Number | 225 | ||||||
Sets or gets the startAngle of the BarGauge. Used to create geometry of the arc in the space. Code examples
Set the
Get the
|
||||||||
title | Object|String | null | ||||||
Sets or gets the BarGauge's title. This property can be string or object with custom title settings. Code examples
Set the
The title is a string or object with properties.
Get the
Try it: title is set custom settings
|
||||||||
tooltip | Object | null | ||||||
Sets or gets the BarGauge's tooltip. Code examples
Set the
The tooltip is an object with following properties:
Get the
|
||||||||
useGradient | Boolean | true | ||||||
Sets or gets useGradient of the BarGauge. Change visualization of the segments between flat color or with gradient. Code examples
Set the
Get the
Try it: useGradient is set to false
|
||||||||
values | Array | [] | ||||||
Sets or gets array of values for the BarGauge. Code examples
Set the
Get the
Try it: values is set to an array
|
||||||||
width | Number | 400 | ||||||
Sets or gets the BarGauge's width. Code examples
Set the
Get the
Try it: width is set to 850
|
||||||||
Events |
||||||||
drawEnd | Event | |||||||
The event is raised when the BarGauge finish rendering. Commonly used in combination with drawStart event. Code examples
Bind to the
|
||||||||
drawStart | Event | |||||||
The event is raised when the BarGauge starts rendering again. Commonly used in combination with drawEnd event. Code examples
Bind to the
|
||||||||
initialized | Event | |||||||
Fires when the jqxBarGauge is rendered for the first time. The BarGauge is initialized. Code examples
Bind to the
|
||||||||
tooltipClose | Event | |||||||
Fires when a BarGauge's tooltip is closed. Code examples
Bind to the
|
||||||||
tooltipOpen | Event | |||||||
Fires when a BarGauge's tooltip is open. Code examples
Bind to the
|
||||||||
valueChanged | Event | |||||||
Fires after the values are changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
refresh | Method | |||||||
Refreshes the BarGauge.
None Code examples
Invoke the
|
||||||||
render | Method | |||||||
Renders the BarGauge contents. This method completely refreshes the BarGauge.
None Code examples
Invoke the
Try it: Invoke the render method.
|
||||||||
val | Method | |||||||
Returns an array of the BarGauge values.
Array Code examples
Invoke the
// Get the values using jQuery's val()
// Set values.
// Set values using jQuery's val().
|