Re:Chartist – Simple responsive charts
by SEJeff on Friday August 29, 2014 @01:37PM
(#8243557)
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.
[ Parent
| on HN ]
Re:Chartist – Simple responsive charts
by Someone1234 on Friday August 29, 2014 @02:10PM
(#8243706)
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/
Re:Chartist – Simple responsive charts
by TheLoneWolfling on Friday August 29, 2014 @03:31PM
(#8244163)
To be fair, that's not an intrinsic limitation so much as a browser implementation limitation.
File a bug report?