<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- Ignite UI for jQuery Required Combined CSS Files -->
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/structure/infragistics.css" rel="stylesheet" />
<script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script>
<!-- Ignite UI for jQuery Required Combined JavaScript Files -->
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.dv.js"></script>
</head>
<body>
<!-- Target element for the igLinearGauge -->
<div id="lineargauge" ></div>
<script>
$(function () {
$("#lineargauge").igLinearGauge({
height: "100px",
width: "100%",
minimumValue: 0,
maximumValue: 10,
value: 1,
needleBrush: "white",
needleOutline: "#2582a9",
isNeedleDraggingEnabled: true,
ranges: [
{
name: 'first',
startValue: 0,
endValue: 3,
},
{
name: 'second',
startValue: 3,
endValue: 7,
},
{
name: 'third',
startValue: 7,
endValue: 10,
}
],
});
});
</script>
</body>
</html>