|  | 
|  | 1 | +<!DOCTYPE html> | 
|  | 2 | + | 
|  | 3 | +<html lang="en"> | 
|  | 4 | +<head> | 
|  | 5 | +	<meta charset="utf-8" /> | 
|  | 6 | +	<title>MindFusion Charting Sample - BarChart</title> | 
|  | 7 | +	<link href="common/jquery-ui.min.css" rel="stylesheet" /> | 
|  | 8 | +	<link href="common/samples.css" rel="stylesheet" /> | 
|  | 9 | +	<script type="text/javascript" src="common/jquery.min.js"></script> | 
|  | 10 | +	<script type="text/javascript" src="common/jquery-ui.min.js"></script> | 
|  | 11 | +	<script type="text/javascript" src="common/samples.js"></script> | 
|  | 12 | +	<script type="text/javascript" src="Scripts/config.js"></script> | 
|  | 13 | +	<script data-main="BarChart" src="Scripts/require.js"></script> | 
|  | 14 | +</head> | 
|  | 15 | +<body> | 
|  | 16 | +	<input type="hidden" id="collapsed" /> | 
|  | 17 | +	<div id="header" style="height: 49px;"> | 
|  | 18 | +		<a href="index.html">Home</a> | 
|  | 19 | +		<div style="float: right; margin-right: 5px; margin-top: 17px;"> | 
|  | 20 | +			<button id="expandButton" onclick="onExpandCollapse()"> | 
|  | 21 | +				> | 
|  | 22 | +			</button> | 
|  | 23 | +		</div> | 
|  | 24 | +	</div> | 
|  | 25 | +	<div id="info" style="top: 60px; bottom: 24px;"> | 
|  | 26 | +		<div id="infoTab" style="padding: 10px;"> | 
|  | 27 | +			<h1> | 
|  | 28 | +				About this sample | 
|  | 29 | +			</h1> | 
|  | 30 | +			<p> | 
|  | 31 | +				This sample demonstrates various properties of the BarChart control. | 
|  | 32 | +				Change property values in the controls panel to see their effect in chart to the left. | 
|  | 33 | +			</p> | 
|  | 34 | +		</div> | 
|  | 35 | +	</div> | 
|  | 36 | +	<div id="content" style="top: 60px; bottom: 24px; overflow-y: scroll;"> | 
|  | 37 | + <div id="controls" style="height: 200px;"> | 
|  | 38 | + <input type="checkbox" id="chbShowDataLabels" checked="checked" /> | 
|  | 39 | + <label for="chbShowDataLabels">ShowDataLabels</label> | 
|  | 40 | + <input type="checkbox" id="chbHorizontalBars" /> | 
|  | 41 | + <label for="chbHorizontalBars">HorizontalBars</label> | 
|  | 42 | + <input type="checkbox" id="chbShowXTicks" checked="checked" /> | 
|  | 43 | + <label for="chbShowXTicks">ShowXTicks</label> | 
|  | 44 | + <input type="checkbox" id="chbShowYTicks" checked="checked" /> | 
|  | 45 | + <label for="chbShowYTicks">ShowYTicks</label> | 
|  | 46 | + <input type="checkbox" id="chbShowXCoords" checked="checked" /> | 
|  | 47 | + <label for="chbShowXCoords">ShowXCoordinates</label> | 
|  | 48 | + <input type="checkbox" id="chbShowYCoords" checked="checked" /> | 
|  | 49 | + <label for="chbShowYCoords">ShowYCoordinates</label> | 
|  | 50 | + <input type="checkbox" id="chbShowZoomWidgets" /> | 
|  | 51 | + <label for="chbShowZoomWidgets">ShowZoomWidgets</label> | 
|  | 52 | + <input type="checkbox" id="chbShowLegend" checked="checked" /> | 
|  | 53 | + <label for="chbShowLegend">ShowLegend</label> | 
|  | 54 | + <br /> | 
|  | 55 | + <div style="display:inline-block"> | 
|  | 56 | + <label for="tbXAxisMax">XAxis.MaxValue</label> | 
|  | 57 | + <input type="range" id="tbXAxisMax" min="0" max="24" value="12" /> | 
|  | 58 | + </div> | 
|  | 59 | + <div style="display:inline-block"> | 
|  | 60 | + <label for="tbXAxisMin">XAxis.MinValue</label> | 
|  | 61 | + <input type="range" id="tbXAxisMin" min="0" max="10" value="0" /> | 
|  | 62 | + </div> | 
|  | 63 | + <div style="display:inline-block"> | 
|  | 64 | + <label for="tbYAxisMax">YAxis.MaxValue</label> | 
|  | 65 | + <input type="range" id="tbYAxisMax" min="1" max="52" value="26" /> | 
|  | 66 | + </div> | 
|  | 67 | + <div style="display:inline-block"> | 
|  | 68 | + <label for="tbYAxisMin">YAxis.MinValue</label> | 
|  | 69 | + <input type="range" id="tbYAxisMin" min="0" max="10" value="0" /> | 
|  | 70 | + </div> | 
|  | 71 | + <div style="display:inline-block"> | 
|  | 72 | + <label for="tbRatio">SpaceRatio</label> | 
|  | 73 | + <input type="range" id="tbRatio" min="0" max="10" value="2" /> | 
|  | 74 | + </div> | 
|  | 75 | + <br /> | 
|  | 76 | + <div style="display:inline-block"> | 
|  | 77 | + <label for="cbxBarLayout">BarLayout</label> | 
|  | 78 | + <select id="cbxBarLayout"> | 
|  | 79 | + <option value="0" selected="selected">SideBySide</option> | 
|  | 80 | + <option value="1">Stack</option> | 
|  | 81 | + <option value="2">Overlay</option> | 
|  | 82 | + </select> | 
|  | 83 | + </div> | 
|  | 84 | + <div style="display:inline-block"> | 
|  | 85 | + <label for="cbxGridType">GridType</label> | 
|  | 86 | + <select id="cbxGridType"> | 
|  | 87 | + <option value="0" selected="selected">None</option> | 
|  | 88 | + <option value="1">Horizontal</option> | 
|  | 89 | + <option value="2">Vertical</option> | 
|  | 90 | + <option value="3">Crossed</option> | 
|  | 91 | + </select> | 
|  | 92 | + </div> | 
|  | 93 | + </div> | 
|  | 94 | + | 
|  | 95 | +		<div style="position: absolute; left: 0px; top: 200px; bottom: 0px; right: 0px"> | 
|  | 96 | +			<canvas id="chart" style="width: 100%; height: 100%; display: block;"></canvas> | 
|  | 97 | +		</div> | 
|  | 98 | +	</div> | 
|  | 99 | + | 
|  | 100 | +	<div id="footer" style="height: 24px;"> | 
|  | 101 | +		<span id="copyright"></span> | 
|  | 102 | +	</div> | 
|  | 103 | +	<script type="text/javascript"> | 
|  | 104 | +	</script> | 
|  | 105 | +</body> | 
|  | 106 | +</html> | 
0 commit comments