/jspark

Ascii sparklines in Java.

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

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

"▁▂▄▃█"