-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBubbleChart.html
More file actions
143 lines (138 loc) · 4.44 KB
/
Copy pathBubbleChart.html
File metadata and controls
143 lines (138 loc) · 4.44 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MindFusion Charting Sample - BubbleChart</title>
<link href="common/samples.css" rel="stylesheet" />
<script type="text/javascript" src="common/samples.js"></script>
</head>
<body>
<input type="hidden" id="collapsed" />
<div id="header" style="height: 49px;">
<div style="float: left; margin-left: 5px;">
<a href="index.html" style="margin-left: 10px;">Index</a>
</div>
<div style="float: right; margin-right: 5px;">
<a href="BubbleChart.js" style="margin-right: 10px;">View source</a>
<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 sample demonstrates various properties of the BubbleChart control. Change property
values in the panel to see their effect in the chart.
</p>
</div>
</div>
<div id="content" style="top: 60px; bottom: 24px; overflow-y: scroll;">
<div id="controls" style="height: 150px;">
<input type="checkbox" id="chbShowScatter" />
<label for="chbShowScatter">
ShowScatter
</label>
<input type="checkbox" id="chbShowDataLabels" checked="checked" />
<label for="chbShowDataLabels">
ShowDataLabels
</label>
<input type="checkbox" id="chbShowXTicks" checked="checked" />
<label for="chbShowXTicks">
ShowXTicks
</label>
<input type="checkbox" id="chbShowYTicks" checked="checked" />
<label for="chbShowYTicks">
ShowYTicks
</label>
<input type="checkbox" id="chbShowXCoords" checked="checked" />
<label for="chbShowXCoords">
ShowXCoordinates
</label>
<input type="checkbox" id="chbShowYCoords" checked="checked" />
<label for="chbShowYCoords">
ShowYCoordinates
</label>
<input type="checkbox" id="chbShowZoomWidgets" checked="checked" />
<label for="chbShowZoomWidgets">
ShowZoomWidgets
</label>
<input type="checkbox" id="chbPinGrid" />
<label for="chbPinGrid">
PinGrid
</label>
<input type="checkbox" id="chbAllowPan" checked="checked" />
<label for="chbAllowPan">
AllowPan
</label>
<input type="checkbox" id="chbShowLegend" checked="checked" />
<label for="chbShowLegend">
ShowLegend
</label>
<input type="checkbox" id="chbAllowMoveLegend" checked="checked" />
<label for="chbAllowMoveLegend">
AllowMoveLegend
</label>
<br />
<div style="display: inline-block">
<label for="cbGridType">
Grid Type
</label>
<select id="cbGridType">
<option value="0">None</option>
<option value="1">Horizontal</option>
<option value="2" selected="selected">Vertical</option>
<option value="3">Crossed</option>
</select>
</div>
<div style="display: inline-block">
<label for="cbLegendHorAlign">
LegendHorizontalAlignment
</label>
<select id="cbLegendHorAlign">
<option value="0" selected="selected">Near</option>
<option value="1">Center</option>
<option value="2">Far</option>
<option value="3">Stretch</option>
</select>
</div>
<div style="display: inline-block">
<label for="cbLegendVerAlign">
LegendVerticalAlignment
</label>
<select id="cbLegendVerAlign">
<option value="0" selected="selected">Near</option>
<option value="1">Center</option>
<option value="2">Far</option>
<option value="3">Stretch</option>
</select>
</div>
<br />
<label for="tbLegendMarginLeft">
LegendMargin(Left)
</label>
<input id="tbLegendMarginLeft" type="range" min="0" max="600" value="0" />
<label for="tbLegendMarginTop">
LegendMargin(Top)
</label>
<input id="tbLegendMarginTop" type="range" min="0" max="400" value="0" />
</div>
<div style="position: absolute; left: 0px; top: 150px; bottom: 0px; right: 0px">
<canvas id="chart" style="width: 100%; height: 100%; display: block;">
</canvas>
</div>
</div>
<div id="footer" style="height: 24px;">
<span id="copyright"></span>
</div>
<script src="Scripts/drawing.js" type="text/javascript"></script>
<script src="Scripts/controls.js" type="text/javascript"></script>
<script src="Scripts/common.js" type="text/javascript"></script>
<script src="Scripts/common-collections.js" type="text/javascript"></script>
<script src="Scripts/charting.js" type="text/javascript"></script>
<script type="text/javascript" src="BubbleChart.js"></script>
</body>
</html>