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({
    theme: 'energyblue',
    height: 80,
    ranges: [{
        startValue: 0,
        endValue: 150,
        color: "Red",
        opacity: 0.6
    }, {
        startValue: 150,
        endValue: 260,
        color: "Orange",
        opacity: 0.6
    }]
});