UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

45 lines (43 loc) 1.74 kB
<!--[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" data-dojo-config="isDebug:true, parseOnLoad: true, has:{'dojo-bidi': 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 style="width:90%;height:480px"> <div dojoType="dijit.layout.BorderContainer" gutters="true" id="borderContainer" style="width:100%;height:100%"> <div dojoType="dojox.charting.widget.Chart" id="lineChart" direction="rtl" 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>