-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRadarChart.html
More file actions
96 lines (91 loc) · 3.14 KB
/
Copy pathRadarChart.html
File metadata and controls
96 lines (91 loc) · 3.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>MindFusion Charting Sample - RadarChart</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="RadarChart.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 RadarChart control. Change property
values in this panel to see their effect in chart the left.
</p>
</div>
</div>
<div id="content" style="top: 60px; bottom: 24px; overflow-y: scroll;">
<div id="controls" style="height: 150px;">
<div style="display: inline-block">
Grid divisions<input type="range" id="gridDivisions" min="5" max="15" />
</div>
<div style="display: inline-block">
Axis min value<input type="range" id="axisMinValue" min="5" max="10" />
</div>
<div style="display: inline-block">
Axis max value<input type="range" id="axisMaxValue" min="55" max="100" />
</div>
<div style="display: inline-block">
Area opacity<input type="range" id="areaOpacity" min="5" max="10" />
</div>
<div style="display: inline-block">
Chart padding<input type="range" id="chartPadding" min="10" max="90" />
</div>
<div style="display: inline-block">
Start angle<input type="range" id="startAngle" min="0" max="360" />
</div>
<br />
Align to axis<input type="checkbox" id="alignAxis">
Allow rotate<input type="checkbox" id="allowRotate">
Show data labels<input type="checkbox" id="showDataLabels">
<div style="display: inline-block">
<label for="gridType">
GridType
</label>
<select id="gridType">
<option value="0">Spiderweb</option>
<option value="1">Radar</option>
</select>
</div>
<div style="display: inline-block">
<label for="radarType">
RadarType
</label>
<select id="radarType">
<option value="0">Polygon</option>
<option value="1">Pie</option>
</select>
</div>
</div>
<div style="position: absolute; left: 0px; top: 150px; bottom: 0px; right: 0px">
<canvas id="radarChart" 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="RadarChart.js"></script>
</body>
</html>