This is a package for generating sparkline graphs in PNG format. This package is inspired (and heaviliy
based on) Geoffrey Grosenbach's sparklines
gem for Ruby.
If available in Hex, the package can be installed
by adding sparklinex
to your list of dependencies in mix.exs
:
def deps do
[
{:sparklinex, "~> 0.1.0"}
]
end
If you wish to see examples of all the different graphs available, you can run mix example_test
.
This will generate an HTML file at test/actual/index.html
, which will have generate a set of graphs
and display them side by side with known exemplars.
This project is currently just getting started.
- Smooth graphs
- Bar graphs
- Bullet graphs
- Pie graphs
- Whisker graphs
- Area graphs
- Discrete graphs
- HexDocs
- TypeDocs
If you wish to contribute, feel free to fork this project and submit a PR.