Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

MeltwaterArchive/sparkline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparkline

Sparkline lets you create small inline ANSI charts of time series. It supports two modes: sparkline and chart. The former fits in one line, the latter spans multiple lines and has labels.

  iex> Sparkline.sparkline [1,2,3,4,5,6,7,8]
  "▁▂▃▄▅▆▇█"

Installation

Sparkline is available in Hex and can be installed by adding sparkline to your list of dependencies in mix.exs:

def deps do
  [{:sparkline, "~> 0.1.0"}]
end

Documentation can be found at https://hexdocs.pm/sparkline.