Getting Started

jqxBulletChart represents a jQuery widget which features two measures - a primary one (the pointer) and a comparative one (the target) and displays them in the context of a number of differently styled qualitative ranges.
Every UI widget from jQWidgets toolkit needs its JavaScript files to be included in order to work properly.

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.

The next step is to create a DIV element within the body of the html document.

The last step is to initialize the widget by adding the following script to the html document:

To call a function(method), you need to pass the method name and parameters(if any) in the jqxBulletChart’s constructor.
    $("#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");

Basic Sample

The result of the above code is: