Name | Type | Default | ||||||
---|---|---|---|---|---|---|---|---|
animationDuration | Function | null | ||||||
Sets ot gets the bulletcharts's animationDuration. Possible valuesnumber 'slow' 'fast' Code examples
Set the
Get the
|
||||||||
barSize | Array | 50% | ||||||
Sets ot gets the bulletcharts's bar size. Code examples
Set the
Get the
Try it: barSize is set to '40%'
|
||||||||
description | String | 'Description' | ||||||
Sets ot gets the bulletcharts's description. Code examples
Set the
Get the
|
||||||||
disabled | Boolean | false | ||||||
Disables the bullet chart. Code examples
Set the
Get the
Try it: disabled is set to true
|
||||||||
height | Number/String | 100 | ||||||
Sets ot gets the bulletcharts's height. Code examples
Set the
Get the
Try it: height is set to 120
|
||||||||
labelsFormat | String | null | ||||||
Sets ot gets the bulletcharts's labelsFormat. Possible values:"null" "d"-decimal numbers "f"- floating-point numbers "n"- integer numbers "c" - currency numbers "p"- percentage numbers Code examples
Set the
Get the
Try it: labelsFormat is set to 'c'
|
||||||||
labelsFormatFunction | Function | null | ||||||
Sets ot gets the bulletcharts's labelsFormatFunction. Code examples
Set the
Get the
|
||||||||
orientation | String | "horizontal" | ||||||
Sets ot gets the bulletcharts's orientation. Possible values:"horizontal" "vertical" Code examples
Set the
Get the
Try it: orientation is set to 'vertical'
|
||||||||
pointer | Object | { value: 65, label: "Value", size: "25%", color: "" } | ||||||
Sets ot gets the bulletcharts's pointer. Code examples
Set the
Get the
|
||||||||
rtl | Boolean | false | ||||||
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts. Code examples
Set the
Get the
Try it: rtl is set to true
|
||||||||
ranges | Array | [{ startValue: 0, endValue: 50, color: "#000000", opacity: 0.7 }, { startValue: 50, endValue: 80, color: "#000000", opacity: 0.5 }, { startValue: 80, endValue: 100, color: "#000000", opacity: 0.3}] | ||||||
Sets ot gets the bulletcharts's range. Possible values'startValue'-the value from which the range will start 'endValue'-the value where the current range will end 'color'- the colour of the range 'opacity'- the opacity of the range Code examples
Set the
Get the
Try it: ranges is set to a custom array
|
||||||||
showTooltip | Boolean | true | ||||||
Sets ot gets the bulletcharts's showTooltip.Requires jqxtooltip.js Code examples
Set the
Get the
Try it: showTooltip is set to false
|
||||||||
target | Object | { value: 85, label: "Target", size: 4, color: "" }; | ||||||
Sets ot gets the bulletcharts's target. Code examples
Set the
Get the
Try it: target is set to a custom object
|
||||||||
ticks | Object | { position: "far", interval: 20, size: 10 } | ||||||
Sets ot gets the bulletcharts's ticks. Possible values for ticks.position"near"- positions the ticks at the top of the ranges bar if the orientation is set to "horizontal" and at the left if the orientation is set to "vertical"; "far" - positions the ticks at the bottom of the ranges bar if the orientation is set to "horizontal" and at the right if the orientation is set to "vertical"; "both" "none" Code examples
Set the
Get the
Try it: ticks is set to a custom object
|
||||||||
title | String | 'Title' | ||||||
Sets ot gets the bulletcharts's title. Code examples
Set the
Get the
Try it: title is set to 'New title'
|
||||||||
tooltipFormatFunction | Function | null | ||||||
Sets ot gets the bulletcharts's tooltipFormatFunction.Requires jqxtooltip.js Code examples
Set the
Get the
|
||||||||
width | Number/String | 500 | ||||||
Sets ot gets the bulletcharts's width. Code examples
Set the
Get the
Try it: width is set to 600
|
||||||||
Events |
||||||||
change | Event | |||||||
This event is triggered when the value is changed. Code examples
Bind to the
|
||||||||
Methods |
||||||||
destroy | Method | |||||||
Destroy the jqxBulletChart widget.
None Code examples
Invoke the
Try it: destroy the jqxBulletChart.
|
||||||||
render | Method | |||||||
Renders the jqxBulletChart widget.
None Code examples
Invoke the
Try it: render the bulletchart
|
||||||||
refresh | Method | |||||||
Refresh the jqxBulletChart widget.
None Code examples
Invoke the
Try it: refresh the bulletchart
|
||||||||
val | Method | |||||||
Sets or gets the selected value.
Number Code examples
Invoke the //Get the value.
//Get the value using jQuery's val()
//Set value.
//Set value using jQuery's val().
|