hello, attached bar.xsl origins from batik cvs. In that cvs you can find somewhere a bar.xsl, line.xsl and pie.xsl (I don't know where and I have no time to search it now; I had a local copy of it).
I attached my line.xsl that transform data.xml to a line chart. Unfortunatly the comments are Hungarian. I hope this helps. > -----Original Message----- > From: Sozonnik Andrew [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 04, 2002 3:25 PM > To: [EMAIL PROTECTED] > Subject: Charting > > > Hello all ! > > Can anybody tell me, is it available some tools for C2 > to generate complete charts (with axis, labels etc.) for example in > SVG, based on data in XML ? > > With respect, > Sozonnik Andrew. > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > >
line.xsl
Description: line.xsl
bar.xsl
Description: bar.xsl
<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Halácsy Péter (Major Rt.) --> <?xml-stylesheet type="text/xsl" href="v:\logp\stylesheets\line.xsl"?> <chart width="436" height="327"> <title>A növekedés</title> <series id="1"> <legend>Növekedés üteme</legend> <colour red="255" green="125" blue="0"/> <value> <x>1</x> <y>2</y> </value> <value> <x>2.5</x> <y>3.8</y> </value> <value> <x>4.8</x> <y>8</y> </value> <value> <x>4.5</x> <y>4</y> </value> <value> <x>5</x> <y>5</y> </value> </series> <series id="2"> <legend>Csökkenés hanyatlása</legend> <colour red="0" green="0" blue="0"/> <value> <y>6</y> </value> <value> <y>5</y> </value> <value> <y>4</y> </value> <value> <y>3.4</y> </value> <value> <y>4.1</y> </value> </series> </chart>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
