Linux SoftwareMultimediaGraphicsSparklines for Java 1.0

Sparklines for Java 1.0


Sparklines are 'intense, simple, wordlike graphics.' There's a PHP library for producing sparklines, and even a sparklin
Developer:   logrodnek
      more software by author →
Price:  0.00
License:   The Apache License 2.0
File size:   29K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Sparklines are 'intense, simple, wordlike graphics.'

There's a PHP library for producing sparklines, and even a sparkline web service, but I wanted something I could use to generate sparklines in both Java and JSTL (and I thought it would be a fun project). (It's also worth checking out Why's minimalist python sparklines, which encode the image data directly in the HTML as a data: URI [this library allows you to encode the images as using either data: format or javascript: format (supported by IE) in JSTL])

JSTL examples

< %@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" % >
< %@ taglib prefix="spark" uri="http://www.representqueens.com/taglibs/spark" % >
< c:set var="test" value="5, 35, 22, 19, 16, 10, 4, 33, 9, 12, 27, 36, 22" / >
< img src="< spark:bar name="test" color="red" / >" / >

will produce:

(I think the default size might be a little large).

The "name" attribute specifies the key to find the data (Uses JspContext.findAttribute). It expects the value to be either a List, a Number[], or a String of comma separated int values. It's the only manditory attribute.

The other attributes are width, height, spacing, color, highColor, lastColor, output. You can replace "bar" with "line" to get a linegraph (note: highColor and lastColor are currently not supported for line graphs).

The color attributes can either be a color name (a field name from java.awt.Color), or a HTML hex color (e.g. #ff0000 for red).
tags http  encode  the  

Download Sparklines for Java 1.0


 http://www.representqueens.com/spark/release/spark-1.0.tar.gz


Authors software

Sparklines for Java 1.0 (by logrodnek)
Sparklines are 'intense, simple, wordlike graphics.'

There's a PHP library for producing sparklines, and even a sparklin


Similar software

Sparklines for Java 1.0 (by logrodnek)
Sparklines are 'intense, simple, wordlike graphics.'

There's a PHP library for producing sparklines, and even a sparklin

Template::Tutorial 2.15 (by Andy Wardley)
Template::Tutorial are template toolkit tutorials.

This section includes tutorials on using the Template Toolkit

MathML::Entities 0.13 (by Jacques Distler)
MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

SYNOPSIS

use M

TinyFugue 5.0 beta 7 (by Ken Keys)
TinyFugue project is a MUD client.

TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use with any type of MUD

JColorGrid 1.860 (by Marcin P. Joachimiak, Jennifer L. Weisman and Barn)
JColorGrid is a data visualization tool

Term::ANSIColor 1.10 (by Russ Allbery)
Term::ANSIColor is a color screen output using ANSI escape sequences.

SYNOPSIS

use Term::ANSIColor;
print color 'bold

Apache::BioChrome 1.16 (by Simon Matthews)
Apache::BioChrome is an Apache handler for Image::BioChrome to colorize gif files based on information provided in the url.

SYNOPS

HTMLpage 0.3 (by Paul Sherman)
HTMLpage is a text-based HTML editor

Imager::Color 0.54 (by Arnar M. Hrafnkelsson)
Imager::Color is a Perl module with color handling for Imager.

SYNOPSIS

$color = Imager::Color->new($red, $green, $blue);

ColorExplorer 1.6 (by Bill Poser)
ColorExplorer project is a tool for exploring the color space and finding out how colors, color names, and numerical color specificat


Other software in this category

SPlotter- 1.2 Simple Plotter 3D (by Naskita)
Plotting all 2D and 3D functions had never been so easy

BRL-CAD 7.8.4 (by Sean Morrison)
BRL-CAD project is a powerful Constructive Solid Geometry (CSG) solid modeling system

motion 3.2.5 (by Jeroen Vreeken)
Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the pictur

ImageMagick 6.3.1-1 (by ImageMagick Studio LLC)
ImageMagickTM, version 6.2.2, is a free software suite for the creation, modification and display of bitmap images

XScreenSaver 5.01 (by jwz)
XScreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell



Top tags