Web/js/jqplot/examples/zooming.html
(开头部分) 24KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
<head>
<title>Plot Zooming and Cursor Control</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="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
</head>
<body>
<div id="header">
<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="colmask leftmenu">
<div class="colleft">
<div class="col1" id="example-content">
<!-- Example scripts go here -->
<style type="text/css">
.button-reset {
margin: 30px;
margin-left: 90px;
}
</style>
<p>The cursor plugin also enables plot zooming functionality. Click and drag on the plot to zoom. Double click to reset.</p>
<p>You can disable the double click zoom reset. The cursor plugin also extends the plot object with a resetZoom() method which can be called from user code or other html element (a button for example) to reset the plot zoom.</p>
<div id="chart1" style="height:300px; width:500px;"></div>
<button class="button-reset">Reset Zoom</button>
<pre class="code prettyprint brush: js"></pre>
<p>Plot zooming also works will multiple axes. The following plot uses 3 large datasets.</p>
<div id="chart2" style="height:300px; width:500px;"></div>
<pre class="code prettyprint brush: js"></pre>
<script language="javascript" type="text/javascript">
var goog = [["6/22/2009 16:00:00",425.32],
后面还有 209 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
