Hello;
There is a project "Sparklines for Java" (http://www.representqueens.com/spark/
) which will allow you to create a buffered sparks image in your java
code.
final Number[] data = new Integer[] { 5, 22, 16, 8, 30, 9, 12, 27, 19,
22 };
// width, height, spacing
final SizeParams params = new SizeParams(50, 12, 1);
final BufferedImage i =
BarGraph.createGraph(data, params,
Color.blue.brighter(),
Color.blue.darker(),
Color.magenta);
final BufferedImage i = LineGraph.createGraph(data, params,
Color.blue.darker());
Convert the BufferedImage to NSdata and set the data property of a
WOImage.
Don
On Jun 16, 2008, at 4:11 PM, Alex Cone wrote:
Anyone have a suggestion for something simple to drop into a WO
application to display sparklines?
Sparkline - Wikipedia, the free encyclopedia
__alex cone
ceo codefab inc
212 465-8484 x101
[EMAIL PROTECTED]
http://www.codefab.com
If you are not living on the edge, you are taking up too much space.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pccdonl
%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]