Updated
This commit is contained in:
45
master/examples/test_chartingsize.html
Normal file
45
master/examples/test_chartingsize.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!--[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>
|
||||
Reference in New Issue
Block a user