5 ms·
Why prefer this over Chart.js [1] which is responsive as well? [1] https://github.com/nnnick/Chart.js/ https://github.com/nnnick/Chart.js/
by marco1 12y ago
Why prefer this over Chart.js [1] which is responsive as well?
[1] https://github.com/nnnick/Chart.js/ https://github.com/nnnick/Chart.js/
- Sir_Cmpwn 12y agoI've run into some serious performance issues with chart.js on Firefox with moderately sized datasets.
- SEJeff 12y agoSVG in general falls over with very large datasets, I find html canvas based libraries such as maybe Flot better for thousands upon thousands of datapoints. I love d3 as much as anyone and all of it's offspring, but SVG is too slow in most browsers (especially Firefox) for lots of datapoints.
- Someone1234 12y agoIt is interesting that you cannot copy SVG out of your browser. When I visit the page in Chrome, mouse over the graph and "copy," it doesn't copy either the BMP buffer OR the raw SVG (XML). I was going to try and copy/paste into Outlook, but that's obviously no-go if you cannot copy at all. Interesting limitation of SVG that I wasn't aware existed until now.
- SEJeff 12y agoYet another bonus of canvas, something vaguely akin to: var canvas = document.getElementById("canvasElement"); var image = canvas.toDataURL("image/png"); document.write('<img src="' + img + '">');
- TheLoneWolfling 12y agoTo be fair, that's not an intrinsic limitation so much as a browser implementation limitation. File a bug report?
- wcameron 12y agoIt sounds like you're looking for the SVG Crowbar: http://nytimes.github.io/svg-crowbar/ http://nytimes.github.io/svg-crowbar/
- smt88 12y agoChart.js is not being actively developed or patched. Dealbreaker.
- alternize 12y agohow so? the last commit was 10 days ago.
- smt88 12y agoOk, something is happening now. But as you can see from the graph[1], nothing was really happening for a long time. I was following several issues that the author wasn't even responding to, even though many people were asking after it. Around 25% of the issues are a year old, and many more are 8+ months old. Finally, someone made a fork of the project with a lot of the requests that people were making. A "people's fork" wouldn't have been created if it were sufficiently active. [1] https://github.com/nnnick/Chart.js/graphs/contributors https://github.com/nnnick/Chart.js/graphs/contributors