Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 372 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 372 Bytes

#JSpark

Ascii JVM Sparklines

I'm sure people have seen https://github.com/holman/spark - this is a Java port.

Why?

Maybe you want ascii sparklines without having to shell out to render them. For example if you're generating text-only reports, or writing an IRC bot.

Usage

Code:

JSpark.render(1, 5, 22, 13, 53)

Evaluates to:

"▁▂▄▃█"