Honest question: Is animation really a needed feature for this? The opening animation adds no information value and has the negative effect of making the user think the graphics are actually interactive. I'm sure the animation itself isn't memory/processor intensive but it seems like a really unnecessary feature for a charting library that creates very beautiful, static graphs.
edit: OK everyone, I'm not an idiot: of course you should use animated graphs when showing things to the suits...that's the number one rule of graphic design, I believe :).
I only questioned it here because the OP's focus seems to be on a fairly clean and minimalist library, and the one-time startup animations seems to go against that aesthetic. But no doubt, they do liven up the page.
If the values change at any point and the display is updated, animation is much, much more than eye-candy. It's cognitive reassurance and an affordance that allows the user to more readily understand what is changing and how it's changing.
(source: I did the work equivalent to a master's thesis in grad school on building a tool for visualizing qualitative data)
But they can also be distracting and annoying when used in a context where they add gratuitous motion in random areas. The chart.js homepage is itself an example of how not to use animated graphs. As soon as one graph captures your attention, you're distracted by another one animating in the corner of your eye, so you're discouraged from looking too closely at either.
The page as a whole suffers due to its lack of respect for the reader's attention.
Total power !
//Boolean - Whether to animate the chart
animation : true,
It's not so much animation of data into it's final state (which is purely eye candy) but rather animation between states. I.e. you want to show how something changes over time, the suddenly it becomes very useful.
Then again I don't know if it's possible to animate between states. (i.e. from 1990-2010)
//Boolean - Whether we animate the rotation of the Doughnut
animateRotate : true,
Don't think so:
@_nnnick This is all just one big marketing ploy, isn’t it? ;P
@DanHarper7 wouldn't that have been amazing? I'm not that smart though unfortunately.
Edit: Apologies, I initially took your comment as cynical towards Nick :(
That said, it's probably the internet attention to the takedown that has made it come back up so quickly.
The canvas itself is always inside a canvascontainer div that also contains all the other dom elements.
No they're not.
So this should fix itself, when Opera switch to WebKit.
EDIT: Having said that, there needs to be a print.css for the charts. Things like #000 for labels, axes and such.
"I misunderstood some issues I wrote about earlier today. Chart.js is now back online and available under MIT. http://www.chartjs.org ." - https://twitter.com/_nnnick/status/314049798502248448
Just an idea.
(I have no idea what happened in this specific case).
Usually, when someone does something mildly serious (we are just wrist-slappy about the minor stuff, unless you do it multiple times, or intentionally) without following the process, first I verify they actually did it without any accusation at all. This often takes the form "It looks like you did X. Is this right or am I misunderstanding?".
If they did in fact, do it, I then say "Hey, just so you know, this could be an issue. I need to talk with some folks, and then we should talk and figure out together what to do about this. You <do/don't> need to do anything in the meanwhile" . Whether they need to do anything depends on the issue, but I am explicit about whether anything needs to be done.
At this point, the reactions vary from "oh shit, sorry, i didn't realize i was supposed to something different" to "fuck the police".
In any case, despite me explicitly telling them they did not need to do anything, there are still cases where someone will do something like take the project down (sometimes intentionally believing it will force my hand, sometimes not), and claim we told them to.
I go and talk with various folks like I said I would, then the person involved, we all decide we don't care (or do), and then it gets put back (or not), or whatever modifications needed are made. Usually if it's put back, this is accompanied by text like you see, stating that they misunderstood some issues. In most cases i've dealt with, this is actually an accurate statement of what occurred, and not us trying to save face. After all, I told them they did not need to do anything!
Of course, I won't deny there are times i've told folks to hide/take down projects. But in those cases, we don't later try to save face.
I could completely see other companies not knowing what they are doing, and telling folks to take stuff down as a knee jerk. It definitely happens. But without more facts here, I wouldn't jump to the conclusion that this is what occurred.
It is nobody's business here but Nick's what happened. Take his words at face value and assume he misunderstood his boss unless you have reason to believe otherwise and it actually matters.
I think this is wrong, Nick initally posted to the Internet - without caveat's - I think it's perfectly reasonable to ask question's and intrigue.
No, and you are not supposed to be able to understand. Otherwise being polite and claiming to have misunderstood something wouldn’t make any sense, as it would be equivalent to blaming the company directly.
Could be either a genuine case of the author hearing one thing and the company meaning another, or a change of mind by the company, possibly involving higher ups.
Probably after going over it, they determined that it would present no harm. Notice that this was not a legal process, just an employer and developer communicating.
Or just really clever drama marketing! Kidding.
Apart from this, I don't get the comments at the top! Is this what HN users think of open source projects which spring up from time to time! If a project is taken down due to IP rights and then comes back to life after a day, is that all a marketing campaign? Don't you think of it as an accomplishment for the community? And this is not the first time that HN users just go about destroying someone's project in a second. Shouldn't we help in giving the person a direction and helping him out.
This one is specially bad because it mixes format with content, I thought we learned it was bad idea when we came up with CSS.
Why not use the same data format as Google Chart Tools and make it dead simple to switch from one library to the other or to integrate with several data sources available for Google Chart Tools?
And if you are still mad about Reader and feel rebel just use the same format as highcharts or <insert here random charting library here>.
Don't get me wrong, I think this is beautiful, and other than this small design rant I appreciate your work a lot and the effort to bring it to the world open source. Thanks a lot.
"This little charting library will make us MILLIONS!" </dr. evil>
I don't care about the how and why it's back, I'm just happy that it is.
Looks like it's (now?) under an MIT license.
might we see a paper coming in the future about this stunt? maybe an internal memo with a proper TPS report on how to maximize open source participation. of course release to the unnamed company internally only, let's call it Initech.
The article I wrote for infoq is up now:
What I'm talking about: http://jsfiddle.net/mgbNb/3/embedded/result/
Also, just wanted to say hi--remember me? You gave me karmawhores years ago, just wanted to say thanks again!
Add morris.js and its dependencies (jQuery & Raphaël) to your page.
<link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.1.min.css">
Nevermind, I found this: http://stackoverflow.com/questions/7034/graph-visualization-...
(Although I'm still lokking for a good tool for visualizing path algorithms (TSP, A* etc))
From the developers at http://toptestprep.com
This looks like a solid library, I like widgets that are initialized and configured with JSON. I've used highcharts in the past, I'll check it out next time I need to do some charting...