RichardWarburton / jspark

Ascii sparklines in Java.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

"▁▂▄▃█"

About

Ascii sparklines in Java.

License:GNU Lesser General Public License v3.0


Languages

Language:Java 100.0%