node-raphael
node-raphael copied to clipboard
using the beautiful SVG library Raphaël in Node.js to generate svg-data
see image 
- Fixed install problem - Update dependencies Fixes #7
When running the example `raphael.generate()` in any other way, I get the following exception: ``` /tmp/node-raphael/node_modules/jsdom/lib/jsdom/level1/core.js:553 Array.prototype.splice.call(this._childNodes, refChildIndex, 0, newChild); ^ TypeError: Cannot set property length of [object Object] which...
this error occures when using text ``` var raphael_example_pie = function (r) { r.g.txtattr.font = "12px 'Fontin Sans', Fontin-Sans, sans-serif"; r.g.text(320, 70, "Static Pie Chart").attr({"font-size": 20}); r.g.piechart(320, 240, 150, [55,...
so text doesn't work. http://www.w3.org/TR/SVG11/
this problem should be covered by raphael. for instance http://g.raphaeljs.com/piechart.html has colors but ``` var raphael_example_pie = function (r) { r.g.txtattr.font = "12px 'Fontin Sans', Fontin-Sans, sans-serif"; r.g.text(320, 70, "Static...