Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've run into some serious performance issues with chart.js on Firefox with moderately sized datasets.


SVG 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.


It 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.


Yet another bonus of canvas, something vaguely akin to:

var canvas = document.getElementById("canvasElement");

var image = canvas.toDataURL("image/png");

document.write('<img src="' + img + '">');


It sounds like you're looking for the SVG Crowbar: http://nytimes.github.io/svg-crowbar/


To be fair, that's not an intrinsic limitation so much as a browser implementation limitation.

File a bug report?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: