Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/savetheclocktower/krang
A charting library built on Prototype (http://prototypejs.org) and Raphaël (http://raphaeljs.com)
https://github.com/savetheclocktower/krang
Last synced: about 1 month ago
JSON representation
A charting library built on Prototype (http://prototypejs.org) and Raphaël (http://raphaeljs.com)
- Host: GitHub
- URL: https://github.com/savetheclocktower/krang
- Owner: savetheclocktower
- License: mit
- Created: 2009-04-23T11:34:24.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-27T01:55:23.000Z (about 14 years ago)
- Last Synced: 2023-04-10T22:58:34.503Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 259 KB
- Stars: 35
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: MIT-LICENSE
Awesome Lists containing this project
README
# Krang
(A charting library built on [Prototype](http://prototypejs.org) and [Raphaël](http://raphaeljs.com))
## About
Krang wraps around the excellent Raphaël library (a JavaScript vector drawing library using SVG/VML) and handles the ugly details of drawing charts. Supply a dataset, pick a chart type, and you're good to go.
Krang differs from other drawing libraries in a few important ways:
* Unlike `canvas` solutions, Krang draws vectors. The individual regions
of an SVG/VML graph can respond to events in ways that `canvas` cannot.
Your charts can be interactive.
* Unlike Flash solutions, Krang draws charts that can be viewed on the
iPhone.
* Unlike [g.raphaël](http://github.com/DmitryBaranovskiy/g.raphael) and
[ico](http://github.com/Kilian/ico), Krang is built upon Prototype, and
therefore is architected in a way that will be familiar to users of the
library.## Status
Krang is in late-alpha, early-beta stage. It has been used on a couple different public-facing web sites without issue. I don't yet consider it feature-complete, so if there's something you want it to do, please let me know.
## Documentation
The beginnings of [PDoc](http://pdoc.org) documentation exist in the source files, and I've tried my best to add comments where the code itself is not self-explanatory. Also, look in `test/functional` for demonstrations of different chart types.
## License
Just like its dependencies — Prototype and Raphaël — Krang carries the [MIT License](http://www.opensource.org/licenses/mit-license.php).