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

Thu, 21 Nov 2024 21:27:04 GMT

Languages