Date: 2005-02-18T16:56:42 Editor: AndrewArmstrong Wiki: XML Graphics - Batik Wiki Page: SvgLineCharts URL: http://wiki.apache.org/xmlgraphics-batik/SvgLineCharts
no comment Change Log: ------------------------------------------------------------------------------ @@ -1,5 +1,59 @@ #pragma section-numbers off = Create line charts using SVG and the Batik rasterizer = += What it does = + + * Transforms this... +{{{<?xml version="1.0" encoding="utf-8"?> +<!--<chart xmlns="http://fleabag.org/lineChart"--> +<chart + debug="false" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://fleabag.org/lineChart file:lineChart.xsd"> + + <title>Weather Balloon Tracking</title> + + <series> + <title>Aquarius</title> + <datum y="1"/> + <datum y="3"/> + <datum y="9"/> + <datum y="8"/> + <datum y="7"/> + </series> + + <axis> + <y> + <title>Altitude</title> + </y> + <x> + <title>Days Since Launch</title> + </x> + </axis> + + <layout> + <south> + <legend/> + </south> + </layout> + + <style> + <plotarea> + <gradient> + <color offset="0%">skyblue</color> + <color offset="80%">azure</color> + <color offset="81%">sienna</color> + <color offset="82%">wheat</color> + <color offset="100%">olive</color> + </gradient> + </plotarea> + </style> +</chart> +}}} + + * Into this... + attachment:linechart.png + += More information = * This is based on a clever contribution by John Morrison (see the Batik sources) * It has been tested on Win2000 and on IBM's z/OS 1.4 mainframe operating system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]