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
  • about 7 years ago
  • October 7, 2016
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 20:22:58 GMT

Languages