-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (129 loc) · 5.28 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Line Adjustment
</title>
<link rel="stylesheet" href="lib/jquery-ui.min.css">
<link rel="stylesheet" href="lib/jquery.fancybox.min.css">
<link rel="stylesheet" href="assets/style.css">
</head>
<body onload="main()">
<header id="header">
<section id="boxes">
</section>
<section id="sliders">
<section class="slidewrapper">
<label for="slider-power">
<b>
Parameter <i>P</i>
</b>
</label>
<div id="show-power" class="number">1</div>
<div id="slider-power"></div>
</section>
<section class="slidewrapper">
<input type="checkbox" class="linkcheck" id="linewidthcheck" checked>
<label for="slider-thickness" class="tooltip">
Line Width
<div class="tooltiptext">
Check the box to apply the adjustment method to line width in the right figures.
Slide to adjust the constant line width factor in both the left and right figure.
</div>
</label>
<div id="show-linewidth" class="number">1</div>
<div id="slider-thickness"></div>
</section>
<section class="slidewrapper">
<input type="checkbox" class="linkcheck" id="opacitycheck">
<label for="slider-opacity" class="tooltip">
Opacity
<div class="tooltiptext">
Check the box to apply the adjustment method to opacity in the right figures.
Slide to adjust the constant opacity factor in both the left and right figure.
</div>
</label>
<div id="show-opacity" class="number">1</div>
<div id="slider-opacity"></div>
</section>
<section class="slidewrapper">
<label for="slider-c" class="tooltip">
Adjusted h
<div class="tooltiptext">
<i>h</i> is a line height adjustment factor applying with equal force to all lines to the
(adjusted) figures displayed at the right side. It can be used to manually accomodate average
line heights in the right figure.
</div>
</label>
<div id="show-c" class="number">1</div>
<div id="slider-c"></div>
</section>
<section class="slidewrapper">
<label for="slider-height">
Height
</label>
<div id="show-height" class="number">1</div>
<div id="slider-height"></div>
</section>
<section class="slidewrapper">
<label for="slider-space">
Space
</label>
<div id="show-space" class="number">1</div>
<div id="slider-space"></div>
</section>
<section class="slidewrapper">
<label for="select-colour">
Colour
</label>
<select id="select-colour" onchange="update('colour')">
<option value="multi"> multi-colour</option>
<option value="black" selected> black</option>
<option value="#466db4"> blue </option>
<option value="red"> red </option>
<option value="green"> green</option>
</select>
</section>
<section class="slidewrapper">
<label for="select-rendering" class="tooltip">
Rendering
<div class="tooltiptext">
Select "polygon" to render parallelograms with fixed height instead of lines in the right figure
(not recommended). Parameter <i>P</i> and the "line width" checkbox will be ignored.
</div>
</label>
<select id="select-rendering" onchange="update('rendering')">
<option value="line" selected>lines </option>
<option value="polygon"> polygon</option>
</select>
</section>
<section class="slidewrapper">
<label for="select-rendering">
Upload
</label>
<input type="file" id="file-input" accept=".csv" multiple>
</section>
</section>
</header>
<main id="main"></main>
</body>
<!-- libraries-->
<script src="lib/d3.v3.min.js"></script>
<script src="lib/jquery-3.4.0.min.js"></script>
<script src="lib/jquery-ui.min.js"></script>
<script src="lib/jquery.fancybox.min.js"></script>
<script>
$('[data-fancybox]').fancybox({
iframe: {
preload: false
}
})
</script>
<!-- scripts -->
<script src="js/initialize.js"></script>
<script src="js/visualization.js"></script>
<script src="js/upload.js"></script>
<script src="js/main.js"></script>
</html>