<!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>
<div >
<h3>チーム イベントの予算使用</h3>
</div>
<div id="bulletgraph" style="width:70%"></div>
<br />
目標値は予算を示し、進行状況バーは使用した予算を示します。また、展開した範囲は、タスクの進行状況を表します。
<script type="text/javascript">
$(function () {
/*----------------- Instantiation -------------------------*/
var $bulletGraph = $("#bulletgraph");
$bulletGraph.igBulletGraph({
width: '100%',
height: '80px',
ranges: [
{
name: 'low',
startValue: 0,
endValue: 1000,
outerStartExtent: .85,
outerEndExtent: .85
},
{
name: 'medium',
startValue: 1000,
endValue: 2000,
outerStartExtent: .85,
outerEndExtent: .85
} ,
{
name: 'high',
startValue: 2000,
endValue: 3000,
outline: '#F79646',
strokeThickness: 2
}
],
showToolTip: true,
maximumValue: 3000,
targetValue: 2700,
value: 2100,
valueInnerExtent: 0.45,
valueOuterExtent: 0.6,
interval:500,
formatLabel: function (evt, ui)
{
ui.label = "$" + ui.value;
}
});
});
</script>
</body>
</html>