include/lib/jqplot/examples/dateAxisRenderer.html
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
<head>
<title>Date Axes</title>
<link class="include" rel="stylesheet" type="text/css" href="../jquery.jqplot.min.css" />
<link rel="stylesheet" type="text/css" href="examples.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shCoreDefault.min.css" />
<link type="text/css" rel="stylesheet" href="syntaxhighlighter/styles/shThemejqPlot.min.css" />
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
<script class="include" type="text/javascript" src="../jquery.min.js"></script>
</head>
<body>
<div class="logo">
<div class="nav">
<a class="nav" href="../../../index.php"><span>></span>Home</a>
<a class="nav" href="../../../docs/"><span>></span>Docs</a>
<a class="nav" href="../../download/"><span>></span>Download</a>
<a class="nav" href="../../../info.php"><span>></span>Info</a>
<a class="nav" href="../../../donate.php"><span>></span>Donate</a>
</div>
</div>
<div class="example-content">
<div class="example-nav">
<a href="dateAxisLogAxisZooming.html">Previous</a> <a href="./">Examples</a> <a href="fillBetweenLines.html">Next</a></div>
<!-- Example scripts go here -->
<p class="text">Date axis renderer with default settings. Ticks are given wider spacing by default since date axes typically have longer tick labels.</p>
<div id="chart1" style="margin:20px;height:240px; width:640px;"></div>
<p class="text">Date axis recognizes rotated tick labels. It will space ticks a little closer when labels are rotated.</p>
<div id="chart2" style="margin:20px;height:240px; width:640px;"></div>
<p class="text">If you want more or less ticks, specify the "numberTicks" options. Date axes will try to produce the desired number of ticks, but may adjust to get a nice interval.</p>
<div id="chart3" style="margin:20px;height:240px; width:640px;"></div>
<script type="text/javascript">
var ohlc = [['07/06/09', 138.7, 139.68, 135.18, 135.4],
['06/29/09', 143.46, 144.66, 139.79, 140.02],
['06/22/09', 140.67, 143.56, 132.88, 142.44],
['06/15/09', 136.01, 139.5, 134.53, 139.48],
['06/08/09', 143.82, 144.56, 136.04, 136.97],
['06/01/09', 136.47, 146.4, 136, 144.67],
['05/26/09', 124.76, 135.9, 124.55, 135.81],
['05/18/09', 123.73, 129.31, 121.57, 122.5],
['05/11/09', 127.37, 130.96, 119.38, 122.42],
['05/04/09', 128.24, 133.5, 126.26, 129.19],
['04/27/09', 122.9, 127.95, 122.66, 127.24],
['04/20/09', 121.73, 127.2, 118.6, 123.9],
['04/13/09', 120.01, 124.25, 115.76, 123.42],
['04/06/09', 114.94, 120, 113.28, 119.57],
['03/30/09', 104.51, 116.13, 102.61, 115.99],
['03/23/09', 102.71, 109.98, 101.75, 106.85],
['03/16/09', 96.53, 103.48, 94.18, 101.59],
后面还有 232 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
