Browse files

adding readme and dr.js config

  • Loading branch information...
1 parent 2320c8a commit 3593560a63c8789c17a652c0678899a15c32cab3 @rzurad rzurad committed with rzurad Nov 2, 2011
Showing with 28 additions and 0 deletions.
  1. +19 −0 README
  2. +9 −0 g.raphael.json
@@ -0,0 +1,19 @@
+g.Raphaël - Official charting plugin for Raphaël
+For more information, see:
+ - Refactored codebase and API to work with Raphaël 2.0
+ - The `g` property has been changed from a namespace to a prototype for all chart types. See documentation for all configurable options on the `g` prototype.
+ - `g.markers` has been removed. The marker parameter strings now just try and resolve functions on the Paper prototype.
+ - All primitive shapes have been removed. They are now part of Raphaël core in `plugins/`
+ - The companion function `original` to the brightness functions `lighter` and `darker` has been renamed to `resetBrightness` to account for the `g` namespace removal
+ - All tooltips can now be called on any Element or Set instance, as well as from the paper object.
+ - 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.
+ - all tooltip `dir` options have been changed from `0`, `1`, `2`, `3`, to `'down'`, `'left'`, `'up'`, `'right'` repectively.
+ - `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.
+ - `popupit` and `labelit` have been removed. Their functionality is now the default behavior of all tooltips
@@ -0,0 +1,9 @@
+ "title": "g.Raphaël",
+ "output": "../g.raphael/docs/reference.html",
+ "scripts": ["../raphael-min.js", "../g.raphael.js", "reference.js"],
+ "files": [{
+ "url": "../g.raphael/g.raphael.js",
+ "link": ""
+ }]

0 comments on commit 3593560

Please sign in to comment.