Sparklines for Java 1.2
Sponsored Links
Sparklines for Java 1.2 Ranking & Summary
File size:
0.030 MB
Platform:
Any Platform
License:
The Apache License 2.0
Price:
Downloads:
963
Date added:
2007-03-14
Publisher:
logrodnek
Sparklines for Java 1.2 description
Sparklines are intense, simple, wordlike graphics.
Theres 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). (Its also worth checking out Whys 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. Its 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).
Enhancements:
- This release properly URL encodes parameters for server generated sparklines.
- This fixes an issue when using hex specified image colors.
- The tag parameter "background" has been added as a workaround for IE6 PNG transparency.
Theres 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). (Its also worth checking out Whys 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. Its 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).
Enhancements:
- This release properly URL encodes parameters for server generated sparklines.
- This fixes an issue when using hex specified image colors.
- The tag parameter "background" has been added as a workaround for IE6 PNG transparency.
Sparklines for Java 1.2 Screenshot
Sparklines for Java 1.2 Keywords
Java 1.2
JSTL
For Java
Sparklines
java
color
wordlike
simple
name
Sparklines for Java
Sparklines for Java 1.2
Graphics
Multimedia
Bookmark Sparklines for Java 1.2
Sparklines for Java 1.2 Copyright
WareSeeker periodically updates pricing and software information of Sparklines for Java 1.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Sparklines for Java 1.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Spoon is a Java program processor that fully supports Java 5. Free Download
Sitemaps for Java provides a Java API for the creation of Google Sitemaps and -Indexes. Free Download
Ogg for Java is an Ogg implementation in pure Java. Free Download
EasyEclipse Server Java is for development of server-side Java applications, such as JavaServer Pages, EJBs and Web Services. Free Download
Simple Logging Facade for Java is intended to serve as a simple facade for various logging APIs. Free Download
Simple persistence for Java is an object/relation mapping framework for Java. Free Download
EasyEclipse Desktop Java is for development of Desktop GUI applications with Swing or SWT. Free Download
OpenGL for Java, formerly known as GL4Java, supports Java with a native OpenGL mapping. Free Download
Latest Software
Popular Software
Favourite Software