Ascii sparklines in Java.
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
COPYING
COPYING.LESSER
README.md
pom.xml

README.md

#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:

"▁▂▄▃█"