-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (38 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css">
<script src="infogfx.js"></script>
</head>
<body>
<div id="container">
<h1>Demo Line Graph</h1>
<h2>To Do</h2>
<ul>
<li>Add pie charts</li>
</ul>
<h2>First Graph</h2>
<div class="graph-container" id="first-graph">{"xLabel": "Cheese", "yLabel": "Burger"}</div>
<h2>First Graph (Bar)</h2>
<div class="graph-container" id="first-graph-bar"></div>
<h2>Second Graph</h2>
<div class="graph-container" id="second-graph"></div>
<h2>Second Graph (Bar)</h2>
<div class="graph-container" id="second-graph-bar"></div>
<h2>Third Graph</h2>
<div class="graph-container" id="third-graph"></div>
<h2>Test Labels Graph</h2>
<div class="graph-container" id="test-labels-graph"></div>
<!-- <path d="M 100 100 q 150 -100 300 0" stroke="blue" stroke-width="2" fill="green" />
M x y q mox moy ox oy
mox=middle offset for x moy=middle offset for y
<path d="M300,200 h-150 a150,150 0 1,0 150,-150 z" fill="red" stroke="black" stroke-width="5"/>
<path d="M270,170 v-150 a150,150 0 0,0 -150,150 z" fill="yellow" stroke="black" stroke-width="2"/>
<path d="M270,170 v-150 a150,150 0 0,0 -150,150 z" fill="yellow" stroke="black" stroke-width="5"/> -->
</div>
</body>
</html>