JavaScript BulletChart

Invoke the val method of the jqxBulletChart. Author: http://jqwidgets.com

by jqwidgets

HTML

<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<div id="jqxBulletChart"></div>
<div>
    <input style="margin-top: 20px;" type="button" id='jqxbutton' value="Change the value" />
</div>

JavaScript

$("#jqxBulletChart").jqxBulletChart({
    theme: 'energyblue'
});
$("#jqxbutton").jqxButton({
    theme: 'energyblue',
    width: 200,
    height: 30
});
$('#jqxbutton').click(function () {
    $("#jqxBulletChart").jqxBulletChart('val',50);
});