jQuery Sparkline 2.1 Test Page

Use to try out and share tests of jQuery Sparkline 2.1

by gwatts

HTML

<script src="http://omnipotent.net/jquery.sparkline/2.1/jquery.sparkline.js"></script>
<div class="scoredetails" sdata="1,1,1,-1,-1,1,-1">
    <b>Results</b><br />
    <div id="sparkline"></div>
</div>

JavaScript

$("#sparkline").sparkline([10,12,12,9,7], {
    type: 'bullet', width: '200px', 
    tooltipFormat: new SPFormat('{{fieldkey:fields}}: {{value}}')});