News for hackers. Stuff that matters.
Re:Show HN: I'm building a webapp for serious cyclists by jodyalbritton on Thursday August 30, 2012 @07:59AM (#4454126)
What are you using to generate your graphs?
Re:Show HN: I'm building a webapp for serious cyclists by davidjohnstone on Thursday August 30, 2012 @08:07AM (#4454150)
Javascript and a HTML5 canvas — I've written all the graphing code myself. I prefer to use stuff that other people have written, but I wanted flexibility, and not all graphing libraries handle tens of thousands of points well (and neither do SVGs).
Re:Show HN: I'm building a webapp for serious cyclists by jodyalbritton on Thursday August 30, 2012 @11:16PM (#4458091)
Cool, well you got some nice looking graphs taking the path you did. I am working on an app that has graphing, and I am running into some of the problems you mentioned. I am using the highcharts library.
Re:Show HN: I'm building a webapp for serious cyclists by mmcnickle on Thursday August 30, 2012 @08:31AM (#4454251)
You mention SVG; I assume you tried d3.js. What issues did you find with it?
Re:Show HN: I'm building a webapp for serious cyclists by davidjohnstone on Thursday August 30, 2012 @08:41AM (#4454289)
I haven't actually tried d3.js. I encountered significant speed issues when using Raphael (even when panning a graph), and I assumed that was more of an SVG problem than a Raphael problem. Maybe I shouldn't assume so much, but I didn't think d3.js would be suited to showing graphs with multiple data sets with potentially ten thousand points (or more, there's a data point for each second, and it's not uncommon to be riding for more than three hours) each.
Re:Show HN: I'm building a webapp for serious cyclists by Zikes on Thursday August 30, 2012 @09:30AM (#4454500)
See this[0] page for an example of a d3.js graph with ~600,000 total data points.

[0] http://hn.metamx.com/