-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (41 loc) · 1.44 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" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="./draw-bar-chart.js"></script>
<link href="./draw-bar-chart.css" rel="stylesheet" type="text/css" />
<title>Demo for DRAW BAR CHART</title>
<meta name="viewport" content="width=device-width" />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"
rel="stylesheet"
/>
<script src="./demo.js"></script>
<style>
body {
font-family: "Open Sans";
}
</style>
</head>
<body>
<h1>Single Bar Chart</h1>
<div id="demo-1-single-bar-chart"></div>
<h1>Single Bar Chart with all values below 1</h1>
<div id="demo-2-values-below-1"></div>
<h1>Single Bar Chart with negative values</h1>
<div id="demo-3-neg-values"></div>
<h1>Single Bar Chart with positive and negative values</h1>
<div id="demo-4-pos-neg-values"></div>
<h1>Stacked Bar Chart</h1>
<div id="demo-5-stacked"></div>
<h1>Bar Chart with no preset tick interval</h1>
<div id="demo-6-with-no-preset-tick-interval"></div>
<h1>Bar Chart with preset tick interval - 0.5</h1>
<div id="demo-7-with-preset-interval"></div>
<h1>Bar Chart with values display as scientific notation</h1>
<div id="demo-8-scientific-notation"></div>
<h1>Error Handling</h1>
<div id="demo-9-error"></div>
</body>
</html>