|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SVG graphs
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@xxxxxxxxxxxx> To: "XSL Mailing List (E-mail)" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, May 04, 2001 8:12 AM Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








