fix #8056 - more refinements to checking data
[g.raphael] / README.markdown
1 g.Raphaël - Official charting plugin for Raphaël
2 =========
3
4 For more information, see: http://g.raphaeljs.com/
5
6 Changelog
7 ---------
8
9 **v0.5**
10
11  * Refactored codebase and API to work with Raphaël 2.0
12  * `g` is no longer a namespace, but instead a prototype object that all charts inherit. See documentation for all configurable options on the `g` prototype.
13  * `g.markers` has been removed. The marker parameter strings now just try and resolve functions on the Paper prototype.
14  * All primitive shapes have been removed. They are now part of Raphaël core in `plugins/`
15  * The companion function `original` to the brightness functions `lighter` and `darker` has been renamed to `resetBrightness` to account for the `g` namespace removal
16  * Tooltips have been modified/enhanced in the following ways:
17    * All tooltips can now be called on any Element or Set instance, as well as from the paper object.
18    * All tooltip `update` functions have been removed. Tooltip functions now return their path element. It is up to the caller to manage both the Element or set that is used as the context and the path element that was drawn by the tooltip function.
19    * All tooltip `dir` options have been changed from `0`, `1`, `2`, `3`, to `'down'`, `'left'`, `'up'`, `'right'` repectively.
20    * `blob` and `drop` tooltips no longer accept `size` parameters. Instead, the bounding box of the Element/Set being used as content is used to automatically determine the size.
21    * `popupit` and `labelit` have been removed. Their functionality is now the default behavior of all tooltips