pjs/webtools/new-graph/dgraph.html

104 строки
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Perf-o-matic-too</title>
<link rel="stylesheet" type="text/css" href="js/graph.css"></link>
<!-- MochiKit -->
<script type="text/javascript" src="js/mochikit/MochiKit.js"></script>
<!-- YUI -->
<script type="text/javascript" src="js/yui/yahoo.js"></script>
<script type="text/javascript" src="js/yui/dom.js"></script>
<script type="text/javascript" src="js/yui/event.js"></script>
<script type="text/javascript" src="js/yui/animation.js"></script>
<script type="text/javascript" src="js/yui/container.js"></script>
<!-- Core -->
<script type="text/javascript" src="js/TinderboxData.js"></script>
<script type="text/javascript" src="js/DataSet.js"></script>
<script type="text/javascript" src="js/GraphCanvas.js"></script>
<script type="text/javascript" src="js/dGraphFormModule.js"></script>
<script type="text/javascript" src="js/graph.js"></script>
<script type="text/javascript" src="js/ResizeGraph.js"></script>
<!-- BonsaiService needs e4x -->
<script type="text/javascript; e4x=1" src="js/BonsaiService.js"></script>
</head>
<body onload="loadingDone(DISCRETE_GRAPH)">
<!--<h1>Graph</h1>-->
<!-- Take your damn divs and floats and clears and shove 'em! -->
<div style="width: 710px; height:20px; margin-left:10px ">
<span id="loading" class="loading"></span>
</div>
<form action="javascript:;">
<table class="graphconfig-no" width="100%">
<tr style="vertical-align: top">
<td class="graphconfig-list">
<div id="graphforms"></div>
</td>
<td class="graphconfig-test-list">
<div id="graphforms-test-list"></div>
</td>
<td class="dgraphconfig">
<!--
<div id="baseline">
<span>Use </span><select id="baselineDropdown"><option value="0">nothing</option></select><span> as a baseline</span><br>
</div>
-->
<br>
<div id="formend">
<input id="graphbutton" type="submit" onclick="onGraph()" value="Graph It!">
<!-- <label for="baseline">No baseline</label><input type="radio" name="baseline" checked onclick="onNoBaseLineClick()"> -->
<br><br>
<a class="linkbutton" id="linktothis" href="dgraph.html">Link</a> |
<a class="linkbutton" id="dumptocsv" href="dumpdata.cgi">CSV</a>
<br>
<input type="checkbox" name="autoscale" id="autoscale" onclick="onAutoScaleClick()" checked="1">Auto scale Y axis</input>
<br>
<input type="checkbox" name="deltasort" id="deltasort" onclick="onGraph()" >Sort by greatest delta</input>
</div>
</td>
</tr>
</table>
</form>
<!-- status line -->
<div style="width: 900px; height:20px">
<center><span id="status" class="status"></span></center>
</div>
<!-- small graph -->
<div class="graph-anchor">
<div class="smallgraph-size" id="smallgraph-labels-x"></div>
<div class="smallgraph-size" id="smallgraph-labels-y"></div>
<canvas id="smallgraph" height="75" width="700"></canvas>
</div>
<br></br>
<div class="graph-anchor">
<div class="graph-size" id="graph-labels-y"></div>
<canvas id="graph" height="300" width="700"></canvas>
<div class="graph-size" id="graph-labels-x"></div>
<div class="floater" id="floater">Hello World</div>
</div>
<div id="graph-label-container" style="float: left; margin-top: 30px;">
<span id="graph-label-list" class="graph-label-list-member" align="left"></span>
</div>
</body>
</html>