Changelog.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. jQuery Sparkline Plugin ChangeLog
  2. http://omnipotent.net/jquery.sparkline/
  3. 2.1.x ???
  4. + Fix for IE <= 9 for loading CSS when 31 stylesheets are already present
  5. 2.1.2 15/June/2013
  6. + Make compatible with jQuery 1.10
  7. + Fix intermittent "undefined error" with IE8 (issue 64)
  8. Thanks Tim Tucker
  9. + Performance/minification size improvement (PR 34)
  10. Thanks Tim Tucker
  11. + Prevent the plugin from being instatiated more than once (PR 37)
  12. Thanks Tim Tucker
  13. 2.1.1 26/January/2013
  14. + Fix a couple of issues rendering pie charts in IE when they slices that make
  15. up a negligible percentage of the whole chart (issue 49)
  16. + Don't display line chart final marker if final value is null (issue 46)
  17. + Make compatible with jQuery 1.9.0 (issue 60)
  18. 2.1 15/October/2012
  19. + Added support for Internet Explorer 10 (issue 18)
  20. Thanks Jonathan Sampson
  21. + Enable the plugin to be loaded dynamically (issue 6)
  22. Thanks joeenzminger
  23. + Pie charts with zero in the array of values will no longer
  24. cause IE to display "undefined" in the page (issue 9)
  25. + Null values in bar charts are now correctly omitted by default (issue 23)
  26. + Null values in line charts would cause value highligting to be
  27. incorrect (issue 4)
  28. + Raise default z-index for tooltips to ensure they always appear on top
  29. of the chart (issue 5)
  30. + Allow target and performance values to be set to null for bullet charts,
  31. omitting them from the chart (issue 3)
  32. + Fix clipping of highlight marker spots if min/max/final spots are disabled
  33. in line charts (issue 31)
  34. + Line charts with normalRangeMin=0 will now render the normal range
  35. correctly (issue 7)
  36. Thanks Tim Mathewso
  37. + Add support for AMD based module loaders such as requirejs (PR 32)
  38. Thanks Tim Tucker
  39. + Fix interquartile range calculation used by box plots (PR 10)
  40. Thanks Claudio Riva
  41. 2.0 29/April/2012
  42. + jQuery.sparkline now requires jQuery 1.4.3 or later
  43. + All charts now support mouseover and click actions
  44. Adds options: disableInteraction, disableTooltips, disableHighlight
  45. + Added sparklineClick and sparklineRegionChange events
  46. + Line charts have highlightSpotColor and highlightLineColor options
  47. for controlling mouseover highligiting
  48. + All charts display tooltips and highlight values when moused-over by default
  49. Adds options: tooltipContainer, tooltipOffsetX, tooltipOffsetY, tooltipFormatter,
  50. tooltipChartTitle, tooltipFormat, tooltipPrefix, tooltipSuffix,
  51. tooltipSkipNull, tooltipValueLookups, highlightLighten, numberFormatter,
  52. numberDigitGroupSep, numberDecimalMark, numberDigitGroupCount
  53. + Fix error when all null values are fed to a line chart
  54. Thanks Ton Voon
  55. + Fix off-by-one error that caused the bottom of filled line charts to
  56. be unlevel - Thanks Sylvain Vieujot for the bug report
  57. + Pie charts with a single value now render correctly
  58. Thanks Juan Manuel
  59. + Charts that have their dimensions specified exactly in pixels may see
  60. improved performance
  61. Thanks Sean Carpenter
  62. + Coloured spots may be added to some or all values on a line chart now using
  63. the new valueSpots option
  64. Thanks Russ Beebe for the suggestion
  65. + Bar and tristates charts now support using range of values for the colorMap
  66. option - Eg. allows all bars with values betweeen 10 and 20 to be green
  67. + Pie charts may now have a border using the borderWidth and borderColor
  68. options - Thanks Michael Mior for the suggestion
  69. + Added a disableHiddenCheck option - If you know your charts will never be
  70. in a hidden block (display:none) at time of rendering, disabling this check
  71. may improve performance
  72. + Reduce number of DOM interactions when rendering charts in Internet Explorer
  73. to increase render performance
  74. + Bar charts may now have stacked values by providing an array of arrays
  75. or by passing a comma and colon delimited series of values (eg. "1:2:3,2:3:1")
  76. + Fix a bug where some spots would be drawn in the wrong position on line
  77. charts if the x values were supplied as well as the y
  78. + Fix a bug causing hidden composite sparklines to fail to render
  79. once $.sparkline_display_visible() is called.
  80. + If there are multiple calls to sparkline() on a hidden element, the plugin
  81. will now only render the most recent one when the element becomes visible,
  82. saving CPU time for the same visual result.
  83. + If a hidden sparkline waiting to be rendered is removed from the DOM
  84. via jQuery's .remove() or .html() etc methods then it will be
  85. removed from the pending queue the next time $.sparkline_display_visible()
  86. is called, preventing a memory leak.
  87. + Add the $.range_map() and $.spformat() methods
  88. 1.6 30/November/2010
  89. + Allow options to be set as tag attributes, as well as passed in to the sparkline
  90. function as an argument. See new enableTagOptions and tagOptionPrefix options.
  91. + Added alternate methods of passing values in via HTML.
  92. Can now include inline values in a comment, or pass values in as a values
  93. attribute on the tag:
  94. <span class="sparkline"><!-- 1,2,3,4,5 --></span>
  95. <span class="sparkline" values="1,2,3,4,5"></span>
  96. + bullet graphs now handle non-integer values correctly
  97. + Added drawNormalOnTop option to line charts to force the normal
  98. range to be drawn over the top of the line chart's fill color
  99. + Detect if an element is not inserted into the DOM so that $.sparkline_display_visible()
  100. will function correctly after it's later inserted.
  101. + Remove the use of the Array indexOf prototype that was added to IE to avoid
  102. conflicts with other libraries.
  103. + Default settings are now exposed as $.fn.sparkline.defaults allowing
  104. script-wide changes to be made instead of passing them to the sparkline function
  105. on each call
  106. 1.5.1 01/March/2010
  107. + 1 character typo fix for IE - Thanks to Daniel Kenyon-Jones for the heads up
  108. 1.5 26/February/2010
  109. + Very small pie slices could fill the whole chart in IE
  110. Thanks to Peter Doel for catching and fixing it
  111. + Added chartRangeClip option to force values outside of chartRangeMin/chartRangeMax
  112. to be clipped
  113. + Added chartRangeMinX/chartRangeMaxX for line charts
  114. + Allow chart types other than line chart to be used as composites.
  115. + colorMap may now pass null as a colour to omit that bar from display entirely
  116. + colorMap may now be passed as an Array of values allowing the colour of each
  117. bar to be specified individually, rather than mapping by value
  118. + Added nullColor option to bar charts to force null values to show up as a thin line
  119. + Performance improvements with IE
  120. 1.4.3 14/September/2009
  121. + Updated default pie chart colours - Thanks Liel Dulev
  122. + Null values can now be supplied to line and bar charts
  123. (use 'null' as the value) - Thanks to Ed Blachman for
  124. testing/debugging help
  125. + Added colorMap option for bar charts
  126. + Added lineWidth option for line charts - Can be an integer or a float
  127. (try 1.5 or 2)
  128. 1.4.2 25/April/2009
  129. + Fixed rendering of circular spots on line charts
  130. for Internet Explorer 8
  131. 1.4.1 27/March/2009
  132. + Fixed minor off-by-1-pixel display glitch with IE
  133. + Improved compatibilty with jQuery 1.3 which could cause some sparklines
  134. not to be rendered in certain situations
  135. 1.4 25/February/2009
  136. + Added the box plot chart type
  137. + Fixed a canvas rendering issue that would display some charts with
  138. fuzzy lines
  139. + Fixed error in bar charts which would causes bars to be too short.
  140. + Couple of other minor bug fixes
  141. 1.3 25/January/2009
  142. + Sparklines can't be automatically displayed into hidden elements (ie.
  143. with display:none) - Added a $.sparkline_display_visible() function
  144. to render any sparklines that were generated while a tag was
  145. hidden
  146. + Fixed positioning issues where sparklines would be displayed a few
  147. pixels offset from their containers in some browsers
  148. + Made a first attempt at IE8 support. IE8 beta 2 seems to
  149. have some vml related bugs though so having more than one sparkline
  150. on a line doesn't work correctly, nor do the markers on line charts
  151. + Misc other bug fixes
  152. + Updated the web site with a new look
  153. 1.2.1 24/November/2008
  154. + Pie chart bug fixes: Divide by zero error resolved
  155. and IE rendering issue if a pie slice is equal to 0
  156. Thanks to Hubert Mandeville for a patch fixing both issues
  157. 1.2 - 19/November/2008
  158. + Fixed positioning of min/max line markers for fixed range graphs
  159. (thanks to Stéphane Busso)
  160. + Fixed rendering of bar charts with negative values
  161. + All values in a bar chart have a height now (min values used to
  162. have height = 0)
  163. + Added zeroColor option for bar charts which allows assignment of
  164. a different color for values that are equal to zero
  165. + Line charts can now specify both x and y values if required in one of
  166. three ways:
  167. a) Inline with HTML with values interleaved:
  168. x1:y1,x2:y2,x3:y3
  169. eg. <span class="linechart">1:10,5:8,7:10</span>
  170. b) Programatically using an x,y array for each value:
  171. $('#mychart').sparkline([ [1,10], [5,8], [7,10] ]);
  172. c) Programatically using a separate array for the x values:
  173. $('#mychart').sparkline( [10,8,10], { xvalues: [1,5,7] });
  174. + Added chartRangeMin and chartRangeMax to line, bar and discrete graphs
  175. This allows you to artificialy fix the min/max values for the graph
  176. so that multiple graphs can share the same scale.
  177. + Added defaultPixelsPerValue option to specify how many pixels wide
  178. each value should be in a dynamically sized line graph
  179. + Added offset option to piecharts - Takes a positive or negative degree
  180. offset to start drawing the chart from.
  181. 1.1 - 29/July/2008
  182. + Added minSpotColor and maxSpotColor to line charts - If set then spot
  183. markers are placed at the cordinates of the minimum and maximum values.
  184. + Added normalRangeMin and normalRangeMax to line charts - If set then
  185. a normalRangeColor band will be drawn on the graph
  186. + Added chart compositing - Applying another chart to a DOM element with
  187. an option of composite: true will cause the second (or more) chart to be
  188. overlayed on the first rather than replacing it.
  189. + Added optional colorMap option to tristate chart - This allows specific
  190. colors to be supplied for specific values
  191. + Added discrete chart type - Uses fixed size discrete vertical lines to mark
  192. each values in a series
  193. + Added bullet graph type - Implementation of Stephen Few's bullet graphs
  194. + Added pie chart type
  195. + Improved auto height option to match the line height of the containing
  196. element
  197. + Fixed some off by one positioning errors
  198. + Reduced the default radius of spot markers from 2 to 1.5 pixels
  199. 1.0 - 17/July/2008
  200. + Initial Release