Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 1.6 KB
<!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>
<script src="lib/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/cufon-yui.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/04b21_400.font.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/topfunky-sparkline.js" type="text/javascript" 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>