| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
<![if gte IE 9]> |
| 13 |
<!DOCTYPE HTML> |
| 14 |
<html lang="en"> |
| 15 |
<head> |
| 16 |
<![endif]> |
| 17 |
<title>Test charting sizing</title> |
| 18 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 19 |
<script type="text/javascript" |
| 20 |
src="../../../dojo/dojo.js" |
| 21 |
data-dojo-config="isDebug:true, parseOnLoad: true"></script> |
| 22 |
<script type="text/javascript"> |
| 23 |
dojo.require("dojo.parser"); |
| 24 |
|
| 25 |
dojo.require("dijit.layout.BorderContainer"); |
| 26 |
dojo.require("dojox.charting.widget.Chart"); |
| 27 |
dojo.require("dojox.charting.axis2d.Default"); |
| 28 |
dojo.require("dojox.charting.plot2d.Lines"); |
| 29 |
dojo.require("dojox.charting.themes.PlotKit.orange"); |
| 30 |
</script> |
| 31 |
</head> |
| 32 |
<body style="width:90%;height:480px"> |
| 33 |
<div dojoType="dijit.layout.BorderContainer" gutters="true" id="borderContainer" style="width:100%;height:100%"> |
| 34 |
<div dojoType="dojox.charting.widget.Chart" id="lineChart" |
| 35 |
theme="dojox.charting.themes.PlotKit.orange" region="center"> |
| 36 |
<div class="axis" name="x" font="italic normal bold 10pt Tahoma"></div> |
| 37 |
<div class="axis" name="y" vertical="true" fixUpper="major" includeZero="true" font="italic normal bold 10pt Tahoma"></div> |
| 38 |
<div class="plot" name="default" type="dojox.charting.plot2d.Lines"></div> |
| 39 |
<div class="series" name="Series A" data="1, 2, 0.5, 1.5, 1, 2.8, 0.4, 7, 3, 4, 2, 1, 4, 4, 5"></div> |
| 40 |
<div class="series" name="Series B" data="2, 1, 0.5, 1, 3, 8, 4, 1.7, 1.3, 4.1, 1, 5, 1, 2, 3"></div> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</body> |
| 44 |
</html> |