-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (60 loc) · 2.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>API state change demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.flourish.rocks/flourish-live-v5.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>Flourish API state change demo</h1>
<div id="controls">
<div class="control">
<h4 class="control-header">Title</h4>
<div class="control-body">
<input type="text" name="title" id="title" />
</div>
</div>
<div class="control">
<h4 class="control-header">Chart type</h4>
<div class="control-body">
<select name="chart-type" id="chart-type">
<option value="line">line</option>
<option value="area_stacked">area_stacked</option>
<option value="area_prop">area_prop</option>
<option value="area_stacked_stream">area_stacked_stream</option>
<option value="column_grouped">column_grouped</option>
<option value="column_stacked">column_stacked</option>
<option value="column_stacked_prop">column_stacked_prop</option>
<option value="bar_grouped">bar_grouped</option>
<option value="bar_stacked">bar_stacked</option>
<option value="bar_stacked_prop">bar_stacked_prop</option>
</select>
</div>
</div>
<div class="control">
<h4 class="control-header">Filter mode</h4>
<div class="control-body">
<select name="filter-mode" id="filter-mode">
<option value="none">None</option>
<option value="single">Single</option>
<option value="multi">Multi</option>
</select>
</div>
</div>
<div class="control">
<h4 class="control-header">Color palette</h4>
<div class="control-body">
<select name="color" id="color">
<option value="palette_1">Color palette 1</option>
<option value="palette_2">Color palette 2</option>
</select>
</div>
</div>
</div>
<div id="container"></div>
<script src="app.js"></script>
</body>
</html>