News for hackers. Stuff that matters.
Re:Chartist.js – Simple Responsive Charts by petercooper on Thursday November 27, 2014 @08:48AM (#8667241)
The project's actual homepage is better and includes live examples: http://gionkunz.github.io/chartist-js/
Re:Chartist.js – Simple Responsive Charts by igvadaimon on Thursday November 27, 2014 @08:54AM (#8667266)
Why is canvas considered "wrong technology for illustration"?
Re:Chartist.js – Simple Responsive Charts by taf2 on Thursday November 27, 2014 @09:43AM (#8667435)
I don't believe it's necessarily the wrong tech for illustration... but SVG is maybe a more natural fit for graphing simple shapes like lines, bars, and circles... Also, Adobe Illustrator exports vector graphics which easily map to SVG and can even be exported directly to SVG. Additionally, the SVG makes it easier to attach event handlers to nodes within a graph so you can support mouse/touch interaction simply using the addEventListener... That said, canvas is closer to the pixel so you could implement vector graphics in canvas.
Re:Chartist.js – Simple Responsive Charts by davidMC1982 on Thursday November 27, 2014 @10:43AM (#8667633)
In my experience, SVG is the overall better fit for graphing, but canvas is much faster. I have a use case that requires plotting over 10,000 data points and the only free libraries that I've found that can do this quickly are canvas based ones.
Re:Chartist.js – Simple Responsive Charts by JelteF on Thursday November 27, 2014 @09:34AM (#8667415)
I would like to know how it compares to other graphing libraries. I am one of the current main contributers of Morris.js[1]. I really like some of the things this tackles. However, one of the main things I noticed missing is that there is no way to show the actual value of a point in the graph.

[1] https://morrisjs.github.io/morris.js/

Re:Chartist.js – Simple Responsive Charts by ianpurton on Thursday November 27, 2014 @10:54AM (#8667686)
Looks really great. If you've tried to make a responsive chart in D3 then you know why this is useful.
Re:Chartist.js – Simple Responsive Charts by nrzuk on Thursday November 27, 2014 @11:14AM (#8667788)
While it looks really nice, there is no way I could submit/deploy a project with that kind of licence bundled in the source code.

Guess you could just change the name etc but that's not really the point!

If one of the corporate legal team picked up on this there would probably be a small shit storm following!

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

  Copyright (C) 2004 Sam Hocevar <[email protected]>

  Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.
Re:Chartist.js – Simple Responsive Charts by josho on Thursday November 27, 2014 @06:06PM (#8669051)
If that really is the only barrier to using this then I'm sure a simple email to the sole copyright holder asking for an MIT/BSD/etc license to the code would solve your problem.

The author put together what looks like a nice library, let's not make an issue out of something so trivial to solve.

Re:Chartist.js – Simple Responsive Charts by tiagocesar on Thursday November 27, 2014 @07:51AM (#8666990)
Those moving points really got me. Gotta look tonight (Github blocked @ company sigh)
Re:Chartist.js – Simple Responsive Charts by ojilles on Thursday November 27, 2014 @08:02AM (#8667021)
Tech company or... Wouldn't be able to imagine not having access to Github
Re:Chartist.js – Simple Responsive Charts by cfontes on Thursday November 27, 2014 @07:59AM (#8667016)
Looks good, but I wish we could drag the points :(
Re:Chartist.js – Simple Responsive Charts by 4ndr3vv on Thursday November 27, 2014 @08:57AM (#8667272)
why does a user need to move points in a chart?

"Actually last quarter's sales were..." <DRAGS POINT>

Re:Chartist.js – Simple Responsive Charts by cfontes on Thursday November 27, 2014 @10:04AM (#8667503)
Well, I could point out several use cases but my specific one is: A time x space graph for tracking movement of vehicles where sometimes the user has to change the positioning of a GPS point that is not to his liking in a planning perspective.
Re:Chartist.js – Simple Responsive Charts by BaconJuice on Thursday November 27, 2014 @09:56AM (#8667476)
Maybe he has a use case where the user DOES need to move points? Example a UI allowing a user to set and forecast next quarters sales while visualizing the last.