jQuery Sparkline 2.1 Test Page

Use to try out and share tests of jQuery Sparkline 2.1

HTML

<script src="http://omnipotent.net/jquery.sparkline/2.1/jquery.sparkline.js"></script>
<div class="row">
<div class="col-sm-12 col-md-4 col-lg-4">
<div id="spark_price" class="sparkline">
</div>
</div>
</div>

<table>
<tr>
<td sparkcy='[4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7]' sparkly= >ddddd</td>
<td></td>
<td></td>
</tr>
</table>

JavaScript

var sparkdata = [
{'date':'20160101',
	'cy':[
		{'Total':[100,90,80,70,60,100,50],
		'RAC':[10,9,8,7,6,10,5],
		'NBI':[5,1,3,4,6,10,5],
		}
	],
	'ly':[
		{'Total':[110,90,80,70,60,100,50],
		'RAC':[10,8,6,77,61,10,5],
		'NBI':[22,11,3,4,6,10,5],
		}
	],
}


]

$('#spark_price').sparkline([4, 1, 5, 7, 9, 9, 8, 7, 6, 6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7],
        {type:'line', spotRadius:3, highlightLineColor:'#387A9D', minSpotColor:'#5D98B7', maxSpotColor:'#05405F', spotColor:'#0F5378', offset:0, width:'100%', height:'30px', lineWidth:2 , lineColor: '#1E6A93', fillColor: 'rgba(57, 204, 204, 0.08)', changeRangeMin: 0, chartRangeMax: 10});
    $('#spark_price').sparkline([6, 4, 7, 8, 4, 3, 2, 2, 5, 6, 7, 4, 1, 5, 7, 9, 9, 8, 7, 6],
        {composite: true, type:'line', spotRadius:3, highlightLineColor:'#F7AB50', minSpotColor:'#FFC27A', maxSpotColor:'#965200', spotColor:'#BE6E0E', offset:0, width:'100%', height:'30px', lineWidth:2 , lineColor: '#E88F26', fillColor: 'rgba(57, 204, 204, 0.08)', changeRangeMin: 0, chartRangeMax: 10});