Create Sparklines with jQuery Sparklines plugin

Mar 17, 2010

Need to add sparklines (small inline information graphics) to your web pages? Use jQuery Sparklines, a jQuery plugin that generates beautiful sparkline directly in the web browser using data supplied either inline in the HTML, or via JavaScript. With jQuery Sparklines you can create line charts, bar charts, tristate charts, discrete charts, bullet graphs, pie charts and box plots.

jQuery Sparklines

jQuery Sparklines is very easy to use. You need jQuery JavaScript library, jquery.sparkline.js file, a call to the sparkline() function and an inline tag on the page to display the sparkline. The values to be used in a sparkline can either be supplied inline, inside the tag to be used as the target or can be passed as the first parameter to the sparkline() function. Common options clude type, width, height, lineColor, fillColor, chartRangeMin, chartRangeMax, composite etc. jQuery Sparklines is compatible with all modern web browsers and has been tested with Firefox 2+, Safari 3+, Opera 9, Google Chrome and Internet Explorer 6, 7 & 8. Get it today and create some nice sparklines.

More info and download link: http://omnipotent.net/jquery.sparkline/

Leave a Reply

Note: The sign * means required field. Comments are subject to moderation.