crystal_spark

sparklines for your Crystal programs

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)
 ▁▂▄▁█

▇▁ ⟦⟧ ▇▁

Repository

crystal_spark

Owner
Statistic
  • 3
  • 1
  • 0
  • 0
  • 0
  • over 6 years ago
  • October 7, 2016
License

MIT License

Links
Synced at

Mon, 06 May 2024 19:30:09 GMT

Languages