-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
37 lines (31 loc) · 1.51 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Topfunky Sparkline Javascript Library</title>
<meta http-equiv="content-language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body { font-family: sans-serif;}
</style>
</head>
<body>
<h1>Topfunky Sparkline Javascript Library</h1>
<div id="chart"></div>
<p>by Geoffrey Grosenbach</p>
<p>A work in progress.</p>
<p>→ <a href="http://github.com/topfunky/topfunky-sparkline-js">Code at GitHub</a></p>
<script src="raphael.min.js" charset="utf-8"></script>
<script src="topfunky-sparkline.js" charset="utf-8"></script>
<script>
TopfunkySparkline('chart',
[5, 5, 5, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5, 21, 10, 3, 24, 18, 50, 0, 1, 45, 29, 5],
{
width:400,
height:30,
title:"Sparkline Graph",
target:25,
good_threshold:20});
</script>
</body>
</html>