Repository navigation
Expand file tree
/
Copy pathSynchronizedScroll.html
More file actions
46 lines (44 loc) · 1.74 KB
/
Copy pathSynchronizedScroll.html
File metadata and controls
46 lines (44 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MindFusion Charting Sample - SynchronizedScroll</title>
<link href="common/jquery-ui.min.css" rel="stylesheet" />
<link href="common/samples.css" rel="stylesheet" />
<script type="text/javascript" src="common/jquery.min.js"></script>
<script type="text/javascript" src="common/jquery-ui.min.js"></script>
<script type="text/javascript" src="common/samples.js"></script>
<script type="text/javascript" src="Scripts/config.js"></script>
</head>
<body>
<input type="hidden" id="collapsed" />
<div id="header" style="height: 49px;">
<a href="index.html">Home</a>
<div style="float: right; margin-right: 5px; margin-top: 17px;">
<button id="expandButton" onclick="onExpandCollapse()">
>
</button>
</div>
</div>
<div id="info" style="top: 60px; bottom: 24px;">
<div id="infoTab" style="padding: 10px;">
<h1>
About this sample
</h1>
<p id="pinfo">
This example demonstrates how you can synchronize scroll positions of two plots by configuring them to use a shared Axis instance.
Try panning one of the plots to the left, and the other one will scroll too.
</p>
</div>
</div>
<div id="content" style="top: 60px; bottom: 24px; overflow-y: scroll;">
<div style="position: absolute; left: 0px; top: 0px; bottom: 0px; right: 0px;">
<canvas id="dashboard" style="width: 100%; height: 100%; display: block;"></canvas>
</div>
</div>
<div id="footer" style="height: 24px;">
<span id="copyright"></span>
</div>
<script data-main="SynchronizedScroll" src="Scripts/require.js"></script>
</body>
</html>