JavaScript BulletChart

Set the ranges property of the jqxBulletChart. Author: http://jqwidgets.com

by jqwidgets

HTML

<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="jqxBulletChart"></div>

JavaScript

$("#jqxBulletChart").jqxBulletChart({
    ranges: [{
        startValue: 0,
        endValue: 200,
        color: "Blue",
        opacity: 0.6
    }, {
        startValue: 200,
        endValue: 250,
        color: "Black",
        opacity: 0.3
    }]
});