The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxBulletChart widget requires the following files:
Note that jqxtooltip.js is required only if you wish the bullet chart's tooltip to be enabled.
$("#jqxBulletChart").jqxBulletChart("val", 50);
To get the result of a function(method) call, you need to pass the method name in
the jqxBulletChart’s constructor and parameters(if any).
var value = $("#jqxBulletChart").jqxBulletChart("val");
To set a property(option), you need to pass the property name and value(s) in the
jqxBulletChart's constructor.
$("#jqxBulletChart").jqxBulletChart({ disabled: true });
To get a property(option), you need to pass the property name to the jqxBulletChart's
constructor.
var height = $("#jqxBulletChart").jqxBulletChart("disabled");
To bind to an event of a UI widget, you can use basic jQuery syntax. The example
code below demonstrates how to bind to the "change" event of jqxBulletChart.
// bind to change event.
$("#jqxBulletChart").bind("change", function (event) {
alert("Value changed");
});