create stunning charts on your website
npm install g.raphael-browserify
|1||downloads in the last week|
|10||downloads in the last month|
|Version||0.5.1-b last updated a few seconds ago|
g.Raphaël - Official charting plugin for Raphaël
For more information, see: http://g.raphaeljs.com/
- Fixed issues with piechart related to hrefs
- Exposed minPercent and maxSlices in piechart
- merged several pull requests fixing other issues
- created docs using dr.js (see docs/reference.html)
- Refactored codebase and API to work with Raphaël 2.0
gis no longer a namespace, but instead a prototype object that all charts inherit. See documentation for all configurable options on the
g.markershas 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
- The companion function
originalto the brightness functions
darkerhas been renamed to
resetBrightnessto account for the
- Tooltips have been modified/enhanced in the following ways:
- All tooltips can now be called on any Element or Set instance, as well as from the paper object.
- All tooltip
updatefunctions 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
diroptions have been changed from
droptooltips no longer accept
sizeparameters. Instead, the bounding box of the Element/Set being used as content is used to automatically determine the size.
labelithave been removed. Their functionality is now the default behavior of all tooltips