TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Morris.js: Pretty time-series line graphs

169 点作者 oesmith大约 13 年前

8 条评论

sudonim大约 13 年前
I spent a good chunk of my sunday yesterday with my cofounder playing with g.raphael.js. After some frustration with raphael and concerns of a giant rabbit hole, we ended up planning to go with Highcharts. The $360 per developer license felt a little steep. We're still experimenting and Morris looks awesome.<p>Thanks for sharing. We may be forking and pull-requesting soon.
评论 #3641553 未加载
评论 #3642775 未加载
评论 #3646913 未加载
评论 #3642637 未加载
oesmith大约 13 年前
This is my first (proper) open-source release. I'd be very grateful for feedback from HN!
评论 #3640911 未加载
评论 #3642336 未加载
评论 #3640931 未加载
jashkenas大约 13 年前
Ticking countdown for all the pedants from the other thread to come and yell at you for not naming it "Morris.coffee" ;)<p>Neat stuff -- I dig your defaults: <a href="https://github.com/oesmith/morris.js/blob/master/morris.coffee#L19-52" rel="nofollow">https://github.com/oesmith/morris.js/blob/master/morris.coff...</a><p>... and you may want to move some of the helper functions within "redraw" out into regular instance functions, for clarity, and since you're already using a class.
评论 #3642188 未加载
ricardobeat大约 13 年前
Is there an option to turn off the curve smoothing? It causes some misleading effects.
评论 #3642237 未加载
jacobolus大约 13 年前
Pet peeve: I really hate the “feature” of adding arbitrary (as in, not related to the data or any reasonable model of them) spline interpolation through data points to make them look “smooth”, especially for these charts that really should be bar charts (i.e. represent quantities of items).<p>Anyway, this sort of thing can be helpful for quick one-offs, but for anyone who runs into the limits of what a tool like this one can do, and needs something more customizable or sophisticated, remember to take a look at D3. It really is neat. <a href="http://mbostock.github.com/d3/" rel="nofollow">http://mbostock.github.com/d3/</a>
gotrythis大约 13 年前
Your graph looks great!<p>We use jqplot, but are looking for an alternative that is also in JS, but more similar to the google analytics graphs. Your's comes close in looks. Any plans for:<p>a) Inline labels like google analytics, instead of under and to the left of the graph. Makes it so much more pretty, as the graph can have its edges match the rest of the interface.<p>b) Support for updating data for a live data stream, scrolling the graph?<p>c) Stacked area graphs (as in just filling in the backgrounds)<p>Anyone else know of a javacript graph that might suit our needs?<p>Thanks!
评论 #3641244 未加载
评论 #3641242 未加载
评论 #3643313 未加载
评论 #3646279 未加载
rplnt大约 13 年前
I'm about to need something like this and I was thinking about using Google Charts[1]. What would I miss out? The thing is I don't want to introduce big requirement (jquery) if it is not necessary.<p>1. <a href="http://code.google.com/apis/chart/" rel="nofollow">http://code.google.com/apis/chart/</a>
pstinnett大约 13 年前
I just used RGraph for some charts in an application I'm working on. The biggest pain for me has been plotting time-based data and I wish I had seen this first.<p>Does the graph handle hours/minutes/seconds or no?