News for hackers. Stuff that matters.
Re:Chart.js is back online by danso on Tuesday March 19, 2013 @02:16PM (#5402605)
Congrats on being able to open source this and thank you for doing so.

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.

Re:Chart.js is back online by incongruity on Tuesday March 19, 2013 @02:46PM (#5402788)
(Not having played with chart.js)

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)

Re:Chart.js is back online by mortenjorck on Tuesday March 19, 2013 @09:13PM (#5404905)
I'm considering using this library on a project that involves a number of donut charts that start out all one color and gradually have a second sice added as the user changes settings. Beyond showing changes, I'm thinking an initial animation might help to show the user that they can change.
Re:Chart.js is back online by dkersten on Tuesday March 19, 2013 @05:45PM (#5403822)
I think subtle animation for transitions and changes make for a much more pleasant user experience than when there are no animations, but animations for the sake of animation should, IMHO, be avoided. For example, I find the animated fade-in effect on the chart.js site to be distracting.
Re:Chart.js is back online by bigtones on Tuesday March 19, 2013 @02:51PM (#5402821)
The animations on the graph on initial render was one of the reasons we chose a graphing solution. Clients love it.
Re:Chart.js is back online by vinny2020 on Tuesday March 19, 2013 @03:22PM (#5402986)
Executives love animations. It looks like you can turn them off but trust me, after years of doing presentations in front of "the suits", it'll be worth leaving it in.
Re:Chart.js is back online by CamperBob2 on Tuesday March 19, 2013 @03:30PM (#5403044)
I agree with both sides: animated charts and graphs can add some welcome eye candy to an otherwise-dull presentation, potentially clarifying how quantities change relative to each other.

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.

Re:Chart.js is back online by n8agrin on Tuesday March 19, 2013 @03:14PM (#5402936)
Here's a good paper about animated transitions in stats graphs and their effectiveness. http://vis.stanford.edu/files/2007-AnimatedTransitions-InfoV...
Re:Chart.js is back online by pixxa on Tuesday March 19, 2013 @06:00PM (#5403887)
The referenced Heer & Robertson paper discusses chained animated transitions that take you from one type of visualization to another in a way that explains the relationship between the two visualizations. The usefulness of chained transitions is debatable, but it is important to note that Chart.js's implementation seems to starts from nothing and animate to the final position of a single type of chart. This is not really adding: "empty" is not an interesting state, so the transition is frivolous. Moreover, because it forces pixel movements on the page, the users are left with looking for meaning, and are distraction so I'd contend this impedes with overall usability. And yes, it is great eye candy, and the corporate powerpoint junkies will probably love it, but remember: they also love those 3D pie charts.
Re:Chart.js is back online by n8agrin on Tuesday March 19, 2013 @07:50PM (#5404500)
I couldn't agree with you more, that's why I linked the paper.
Re:Chart.js is back online by kaushikt on Tuesday March 19, 2013 @02:29PM (#5402693)
Animations on graphs have come too far. But i can agree with you on some part that at a few places animations are not needed. If you look at the documentation (http://www.chartjs.org/docs/) then you can choose in the configurations to switch it off for all the graphs.

Total power !

Re:Chart.js is back online by t0mislav on Tuesday March 19, 2013 @02:55PM (#5402842)
I agree. While animation is nice in some ways, it really isn't necessary. Animations nowdays are far too long. Fortunately, it is possible to disable or speed up.
Re:Chart.js is back online by rudedogg on Tuesday March 19, 2013 @07:43PM (#5404453)
The library has a switch to turn the animation on/off

  //Boolean - Whether to animate the chart
  animation : true,
Re:Chart.js is back online by ThomPete on Tuesday March 19, 2013 @06:07PM (#5403928)
I think I understand your question.

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)

Re:Chart.js is back online by biswajitsharma on Wednesday March 20, 2013 @04:59AM (#5406201)
May be there is a way to switch it off? There seems to be the following option

//Boolean - Whether we animate the rotation of the Doughnut

animateRotate : true,