PHP/JavaScript webapp to analyse spending habits
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NEWS.txt 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. Flot 0.6
  2. --------
  3. API changes:
  4. 1. Selection support has been moved to a plugin. Thus if you're
  5. passing selection: { mode: something }, you MUST include the file
  6. jquery.flot.selection.js after jquery.flot.js. This reduces the size
  7. of base Flot and makes it easier to customize the selection as well as
  8. improving code clarity. The change is based on patch from andershol.
  9. 2. In the global options specified in the $.plot command,
  10. "lines", "points", "bars" and "shadowSize" have been moved to a
  11. sub-object called "series", i.e.
  12. $.plot(placeholder, data, { lines: { show: true }})
  13. should be changed to
  14. $.plot(placeholder, data, { series: { lines: { show: true }}})
  15. All future series-specific options will go into this sub-object to
  16. simplify plugin writing. Backward-compatibility code is in place, so
  17. old code should not break.
  18. 3. "plothover" no longer provides the original data point, but instead
  19. a normalized one, since there may be no corresponding original point.
  20. 4. Due to a bug in previous versions of jQuery, you now need at least
  21. jQuery 1.2.6. But if you can, try jQuery 1.3.2 as it got some
  22. improvements in event handling speed.
  23. Changes:
  24. - Added support for disabling interactivity for specific data series
  25. (request from Ronald Schouten and Steve Upton).
  26. - Flot now calls $() on the placeholder and optional legend container
  27. passed in so you can specify DOM elements or CSS expressions to make
  28. it easier to use Flot with libraries like Prototype or Mootools or
  29. through raw JSON from Ajax responses.
  30. - A new "plotselecting" event is now emitted while the user is making
  31. a selection.
  32. - The "plothover" event is now emitted immediately instead of at most
  33. 10 times per second, you'll have to put in a setTimeout yourself if
  34. you're doing something really expensive on this event.
  35. - The built-in date formatter can now be accessed as
  36. $.plot.formatDate(...) (suggestion by Matt Manela) and even
  37. replaced.
  38. - Added "borderColor" option to the grid (patch from Amaury Chamayou
  39. and patch from Mike R. Williamson).
  40. - Added support for gradient backgrounds for the grid, take a look at
  41. the "setting options" example (based on patch from Amaury Chamayou,
  42. issue 90).
  43. - Gradient bars (suggestion by stefpet).
  44. - Added a "plotunselected" event which is triggered when the selection
  45. is removed, see "selection" example (suggestion by Meda Ugo);
  46. - The option legend.margin can now specify horizontal and vertical
  47. margins independently (suggestion by someone who's annoyed).
  48. - Data passed into Flot is now copied to a new canonical format to
  49. enable further processing before it hits the drawing routines. As a
  50. side-effect, this should make Flot more robust in the face of bad
  51. data (and fixes issue 112).
  52. - Step-wise charting: line charts have a new option "steps" that when
  53. set to true connects the points with horizontal/vertical steps
  54. instead of diagonal lines.
  55. - The legend labelFormatter now passes the series in addition to just
  56. the label (suggestion by Vincent Lemeltier).
  57. - Horizontal bars (based on patch by Jason LeBrun).
  58. - Support for partial bars by specifying a third coordinate, i.e. they
  59. don't have to start from the axis. This can be used to make stacked
  60. bars.
  61. - New option to disable the (grid.show).
  62. - Added pointOffset method for converting a point in data space to an
  63. offset within the placeholder.
  64. - Plugin system: register an init method in the $.flot.plugins array
  65. to get started, see PLUGINS.txt for details on how to write plugins
  66. (it's easy). There are also some extra methods to enable access to
  67. internal state.
  68. - Hooks: you can register functions that are called while Flot is
  69. crunching the data and doing the plot. This can be used to modify
  70. Flot without changing the source, useful for writing plugins. Some
  71. hooks are defined, more are likely to come.
  72. - Threshold plugin: you can set a threshold and a color, and the data
  73. points below that threshold will then get the color. Useful for
  74. marking data below 0, for instance.
  75. - Stack plugin: you can specify a stack key for each series to have
  76. them summed. This is useful for drawing additive/cumulative graphs
  77. with bars and (currently unfilled) lines.
  78. - Crosshairs plugin: trace the mouse position on the axes, enable with
  79. crosshair: { mode: "x"} (see the new tracking example for a use).
  80. - Image plugin: plot prerendered images.
  81. - Navigation plugin for panning and zooming a plot.
  82. - More configurable grid.
  83. - Axis transformation support, useful for non-linear plots, e.g. log
  84. axes and compressed time axes (like omitting weekends).
  85. - Support for twelve-hour date formatting (patch by Forrest Aldridge).
  86. - The color parsing code in Flot has been cleaned up and split out so
  87. it's now available as a separate jQuery plugin. It's included inline
  88. in the Flot source to make dependency managing easier. This also
  89. makes it really easy to use the color helpers in Flot plugins.
  90. Bug fixes:
  91. - Fixed two corner-case bugs when drawing filled curves (report and
  92. analysis by Joshua Varner).
  93. - Fix auto-adjustment code when setting min to 0 for an axis where the
  94. dataset is completely flat on that axis (report by chovy).
  95. - Fixed a bug with passing in data from getData to setData when the
  96. secondary axes are used (issue 65, reported by nperelman).
  97. - Fixed so that it is possible to turn lines off when no other chart
  98. type is shown (based on problem reported by Glenn Vanderburg), and
  99. fixed so that setting lineWidth to 0 also hides the shadow (based on
  100. problem reported by Sergio Nunes).
  101. - Updated mousemove position expression to the latest from jQuery (bug
  102. reported by meyuchas).
  103. - Use CSS borders instead of background in legend (fix printing issue 25
  104. and 45).
  105. - Explicitly convert axis min/max to numbers.
  106. - Fixed a bug with drawing marking lines with different colors
  107. (reported by Khurram).
  108. - Fixed a bug with returning y2 values in the selection event (fix
  109. by exists, issue 75).
  110. - Only set position relative on placeholder if it hasn't already a
  111. position different from static (reported by kyberneticist, issue 95).
  112. - Don't round markings to prevent sub-pixel problems (reported by Dan
  113. Lipsitt).
  114. - Make the grid border act similarly to a regular CSS border, i.e.
  115. prevent it from overlapping the plot itself. This also fixes a
  116. problem with anti-aliasing when the width is 1 pixel (reported by
  117. Anthony Ettinger).
  118. - Imported version 3 of excanvas and fixed two issues with the newer
  119. version. Hopefully, this will make Flot work with IE8 (nudge by
  120. Fabien Menager, further analysis by Booink, issue 133).
  121. - Changed the shadow code for lines to hopefully look a bit better
  122. with vertical lines.
  123. - Round tick positions to avoid possible problems with fractions
  124. (suggestion by Fred, issue 130).
  125. - Made the heuristic for determining how many ticks to aim for a bit
  126. smarter.
  127. - Fix for uneven axis margins (report and patch by Paul Kienzle) and
  128. snapping to ticks (concurrent report and patch by lifthrasiir).
  129. - Fixed bug with slicing in findNearbyItems (patch by zollman).
  130. - Make heuristic for x axis label widths more dynamic (patch by
  131. rickinhethuis).
  132. - Make sure points on top take precedence when finding nearby points
  133. when hovering (reported by didroe, issue 224).
  134. Flot 0.5
  135. --------
  136. Backwards API change summary: Timestamps are now in UTC. Also
  137. "selected" event -> becomes "plotselected" with new data, the
  138. parameters for setSelection are now different (but backwards
  139. compatibility hooks are in place), coloredAreas becomes markings with
  140. a new interface (but backwards compatibility hooks are in place).
  141. Interactivity: added a new "plothover" event and this and the
  142. "plotclick" event now returns the closest data item (based on patch by
  143. /david, patch by Mark Byers for bar support). See the revamped
  144. "interacting with the data" example for some hints on what you can do.
  145. Highlighting: you can now highlight points and datapoints are
  146. autohighlighted when you hover over them (if hovering is turned on).
  147. Support for dual axis has been added (based on patch by someone who's
  148. annoyed and /david). For each data series you can specify which axes
  149. it belongs to, and there are two more axes, x2axis and y2axis, to
  150. customize. This affects the "selected" event which has been renamed to
  151. "plotselected" and spews out { xaxis: { from: -10, to: 20 } ... },
  152. setSelection in which the parameters are on a new form (backwards
  153. compatible hooks are in place so old code shouldn't break) and
  154. markings (formerly coloredAreas).
  155. Timestamps in time mode are now displayed according to
  156. UTC instead of the time zone of the visitor. This affects the way the
  157. timestamps should be input; you'll probably have to offset the
  158. timestamps according to your local time zone. It also affects any
  159. custom date handling code (which basically now should use the
  160. equivalent UTC date mehods, e.g. .setUTCMonth() instead of
  161. .setMonth().
  162. Added support for specifying the size of tick labels (axis.labelWidth,
  163. axis.labelHeight). Useful for specifying a max label size to keep
  164. multiple plots aligned.
  165. Markings, previously coloredAreas, are now specified as ranges on the
  166. axes, like { xaxis: { from: 0, to: 10 }}. Furthermore with markings
  167. you can now draw horizontal/vertical lines by setting from and to to
  168. the same coordinate (idea from line support patch by by Ryan Funduk).
  169. The "fill" option can now be a number that specifies the opacity of
  170. the fill.
  171. You can now specify a coordinate as null (like [2, null]) and Flot
  172. will take the other coordinate into account when scaling the axes
  173. (based on patch by joebno).
  174. New option for bars "align". Set it to "center" to center the bars on
  175. the value they represent.
  176. setSelection now takes a second parameter which you can use to prevent
  177. the method from firing the "plotselected" handler.
  178. Using the "container" option in legend now overwrites the container
  179. element instead of just appending to it (fixes infinite legend bug,
  180. reported by several people, fix by Brad Dewey).
  181. Fixed a bug in calculating spacing around the plot (reported by
  182. timothytoe). Fixed a bug in finding max values for all-negative data
  183. sets. Prevent the possibility of eternal looping in tick calculations.
  184. Fixed a bug when borderWidth is set to 0 (reported by
  185. Rob/sanchothefat). Fixed a bug with drawing bars extending below 0
  186. (reported by James Hewitt, patch by Ryan Funduk). Fixed a
  187. bug with line widths of bars (reported by MikeM). Fixed a bug with
  188. 'nw' and 'sw' legend positions. Improved the handling of axis
  189. auto-scaling with bars. Fixed a bug with multi-line x-axis tick
  190. labels (reported by Luca Ciano). IE-fix help by Savage Zhang.
  191. Flot 0.4
  192. --------
  193. API changes: deprecated axis.noTicks in favor of just specifying the
  194. number as axis.ticks. So "xaxis: { noTicks: 10 }" becomes
  195. "xaxis: { ticks: 10 }"
  196. Time series support. Specify axis.mode: "time", put in Javascript
  197. timestamps as data, and Flot will automatically spit out sensible
  198. ticks. Take a look at the two new examples. The format can be
  199. customized with axis.timeformat and axis.monthNames, or if that fails
  200. with axis.tickFormatter.
  201. Support for colored background areas via grid.coloredAreas. Specify an
  202. array of { x1, y1, x2, y2 } objects or a function that returns these
  203. given { xmin, xmax, ymin, ymax }.
  204. More members on the plot object (report by Chris Davies and others).
  205. "getData" for inspecting the assigned settings on data series (e.g.
  206. color) and "setData", "setupGrid" and "draw" for updating the contents
  207. without a total replot.
  208. The default number of ticks to aim for is now dependent on the size of
  209. the plot in pixels. Support for customizing tick interval sizes
  210. directly with axis.minTickSize and axis.tickSize.
  211. Cleaned up the automatic axis scaling algorithm and fixed how it
  212. interacts with ticks. Also fixed a couple of tick-related corner case
  213. bugs (one reported by mainstreetmark, another reported by timothytoe).
  214. The option axis.tickFormatter now takes a function with two
  215. parameters, the second parameter is an optional object with
  216. information about the axis. It has min, max, tickDecimals, tickSize.
  217. Added support for segmented lines (based on patch from Michael
  218. MacDonald) and for ignoring null and bad values (suggestion from Nick
  219. Konidaris and joshwaihi).
  220. Added support for changing the border width (joebno and safoo).
  221. Label colors can be changed via CSS by selecting the tickLabel class.
  222. Fixed a bug in handling single-item bar series (reported by Emil
  223. Filipov). Fixed erratic behaviour when interacting with the plot
  224. with IE 7 (reported by Lau Bech Lauritzen). Prevent IE/Safari text
  225. selection when selecting stuff on the canvas.
  226. Flot 0.3
  227. --------
  228. This is mostly a quick-fix release because jquery.js wasn't included
  229. in the previous zip/tarball.
  230. Support clicking on the plot. Turn it on with grid: { clickable: true },
  231. then you get a "plotclick" event on the graph placeholder with the
  232. position in units of the plot.
  233. Fixed a bug in dealing with data where min = max, thanks to Michael
  234. Messinides.
  235. Include jquery.js in the zip/tarball.
  236. Flot 0.2
  237. --------
  238. Added support for putting a background behind the default legend. The
  239. default is the partly transparent background color. Added
  240. backgroundColor and backgroundOpacity to the legend options to control
  241. this.
  242. The ticks options can now be a callback function that takes one
  243. parameter, an object with the attributes min and max. The function
  244. should return a ticks array.
  245. Added labelFormatter option in legend, useful for turning the legend
  246. labels into links.
  247. Fixed a couple of bugs.
  248. The API should now be fully documented.
  249. Patch from Guy Fraser to make parts of the code smaller.
  250. API changes: Moved labelMargin option to grid from x/yaxis.
  251. Flot 0.1
  252. --------
  253. First public release.