This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: SVG graphs
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] SVG graphs
- From: "Steve Muench" <Steve dot Muench at oracle dot com>
- Date: Fri, 4 May 2001 10:03:38 -0700
- References: <00BB1956AE40D411B5B60050DA27311F3C61AA@mail1.bluezone.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Adam,
There's an example of an SVG Bar Chart stylesheet at:
http://ws5.olab.com/xsql/demo/svg/SalChart.xsl
The XML document (in this particular case, dynamically
generated off a SQL query, server-side) on which the
stylesheet operates is at:
http://ws5.olab.com/xsql/demo/svg/SalChart.xsql?xml-stylesheet=none
The stylesheet uses a Java extension function to make use
of the java.awt.Color object as part of its algorithm to
pick a range of "cool" colors for the bars, but you can
easily rip this detail out of the stylesheet.
A similar example is explained in detail in my book.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/
----- Original Message -----
From: "Adam Van Den Hoven" <Adam.Hoven@bluezone.net>
To: "XSL Mailing List (E-mail)" <xsl-list@lists.mulberrytech.com>
Sent: Friday, May 04, 2001 8:12 AM
Subject: [xsl] SVG graphs
| Has anyone written an XSL transform to take some data/report schema and
| create some sort of graph in SVG? More importantly, would you like to
share
| it with me? I'm working on it now and it doesn't seem to be too hard, just
a
| lot of mathmatical calculations, which I'd rather R&D (rob and duplicate)
| than reinvent.
|
| Thanks,
| > Adam van den Hoven
| > Internet Application Developer
| > Blue Zone
| > tel. 604.685.4310 ext 260
| > fax. 604.685.4391
| > Blue Zone makes you interactive.(tm) http://www.bluezone.net/
| >
|
| XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list