Skip to content

ilmanzo/crystal_spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spark

sparklines in your Crystal

See? Here's a graph of your productivity gains after using spark: ▁▂▃▅▇

install

This is a Crystal port of the python spark.

usage

Just pass to the Spark.string function an array of numbers.

Spark.string([0,30,55,80,33,150])
▁▂▃▅▂▇

the function accept a second parameter for normalize data and fit min:

Spark.string([0, 30, 55, 80, 33, 150], true)
 ▁▂▄▁█

▇▁ ⟦⟧ ▇▁

About

sparklines for your Crystal programs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published