Files
openlayers/master/examples/test_chartingsize.html
Éric Lemoine 5d14b9e2d4 Updated
2013-02-20 10:38:25 +01:00

45 lines
1.7 KiB
HTML

<!--[if IE 7]>
<!DOCTYPE>
<html lang="en">
<head>
<![endif]-->
<!--[if IE 8]>
<!DOCTYPE>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<![endif]-->
<![if gte IE 9]>
<!DOCTYPE HTML>
<html lang="en">
<head>
<![endif]>
<title>Test charting sizing</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript"
src="../../../dojo/dojo.js"
djConfig="isDebug:true, parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.layout.BorderContainer");
dojo.require("dojox.charting.widget.Chart");
dojo.require("dojox.charting.axis2d.Default");
dojo.require("dojox.charting.plot2d.Lines");
dojo.require("dojox.charting.themes.PlotKit.orange");
</script>
</head>
<body>
<div dojoType="dijit.layout.BorderContainer" design="sidebar" gutters="false"
style="width: 100%; height: 100%;">
<div dojoType="dojox.charting.widget.Chart" id="lineChart"
theme="dojox.charting.themes.PlotKit.orange" region="center">
<div class="axis" name="x" font="italic normal bold 10pt Tahoma"></div>
<div class="axis" name="y" vertical="true" fixUpper="major" includeZero="true" font="italic normal bold 10pt Tahoma"></div>
<div class="plot" name="default" type="dojox.charting.plot2d.Lines"></div>
<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>
<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>
</div>
</div>
</body>
</html>