If necessary, options can be passed as attributes on each tag.
This requires setting the enable Tag Options option when calling the sparklines() function and reduces performance somewhat (more critical on IE6) Each option must be prefixed with "spark", though this can be changed by passing a tag Option Prefix option to the sparkline() function You can also override the default options for all subsequent sparklines by assigning values to $sparkline.defaults Eg.
If you're using a version of j Query later than 1.8, be extra sure you're not rendering your page in quirks mode to avoid breaking tooltips for IE users.It also allows for values to passed as an attribute on the tag, as well as a comment inside the tag.This avoids the values being displayed on screen briefly before the sparkline function has a chance to execute. 1 March 2010 - Version 1.5.1 Released I accidentally left a stray comma in the 1.5 release which breaks compatibility with Internet Explorer. 26 February 2010 - Version 1.5 Released This version contains a number of minor updates and fixes, including: 14 September 2009 - Version 1.4.3 Released This version adds support for null values for line and bar charts, updates the default pie chart colours, adds the color Map option for bar charts and adds a line Width option for line charts. Over 3,000 people have bookmarked this site on delicious now! This release also includes a few bug fixes including one where lines would not always appear crisp in canvas based browsers such as Firefox. It looks like sparklines work fairly well in this release, although the small circles used in line charts, box plots, etc. 25 January 2009 - Version 1.3 Released This version fixes some positioning issues on all platforms and adds some support for Internet Explorer 8.to change the default line color as listed in the common options below, you can do: Width of the chart - Defaults to 'auto' - May be any valid css width - 1.5em, 20px, etc (using a number without a unit specifier won't do what you want) - This option does nothing for bar and tristate chars (see bar Width)If true then don't erase any existing chart attached to the tag, but draw another chart over the top - Note that width and height are ignored if an existing chart is detected.Note: You'll usually want to lock the axis on both charts using chart Range Min and chart Range Max if you want the same value on each chart to occupy the same point.