Skip to content

aselder/sparklinex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparklinex

Descripton

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.

Installation

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.

Status

This project is currently just getting started.

Done

  • Smooth graphs
  • Bar graphs
  • Bullet graphs

Todo

  • 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.

About

PNG Sparkline generator for Elixir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages