Sha256: 91261592519a0715ad4698c1f2f90da0d4d900285d0210ae1a3b762e30d86f7f
Contents?: true
Size: 1.73 KB
Versions: 39
Compression:
Stored size: 1.73 KB
Contents
/** * Theme: Ubold Admin Template * Author: Coderthemes * Component: Widget * */ $( document ).ready(function() { var DrawSparkline = function() { $('#sparkline1').sparkline([0, 23, 43, 35, 44, 45, 56, 37, 40], { type: 'line', width: $('#sparkline1').width(), height: '165', chartRangeMax: 50, lineColor: '#fb6d9d', fillColor: 'transparent', highlightLineColor: 'rgba(0,0,0,.1)', highlightSpotColor: 'rgba(0,0,0,.2)' }); $('#sparkline1').sparkline([25, 23, 26, 24, 25, 32, 30, 24, 19], { type: 'line', width: $('#sparkline1').width(), height: '165', chartRangeMax: 40, lineColor: '$brand-primary', fillColor: 'transparent', composite: true, highlightLineColor: 'rgba(0,0,0,1)', highlightSpotColor: 'rgba(0,0,0,1)' }); $('#sparkline2').sparkline([3, 6, 7, 8, 6, 4, 7, 10, 12, 7, 4, 9, 12, 13, 11, 12], { type: 'bar', height: '165', barWidth: '10', barSpacing: '3', barColor: '#fb6d9d' }); $('#sparkline3').sparkline([20, 40, 30, 10], { type: 'pie', width: '165', height: '165', sliceColors: ['#dcdcdc', '$brand-primary', '#36404a', '#5fbeaa'] }); }; DrawSparkline(); var resizeChart; $(window).resize(function(e) { clearTimeout(resizeChart); resizeChart = setTimeout(function() { DrawSparkline(); }, 300); }); });
Version data entries
39 entries across 39 versions & 1 rubygems