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...
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.
Mainframers with z/OS can download a more familiar distro from
CBT File 706 The rest of us can download it from this wiki svglinecharts-1.2.2.zip (the zip includes an XSLT stylesheet, html doco and a tutorial)
Send feedback to Andrew Armstrong <andrew_armstrong AT IPSUM unwired DOT LOREM DOLOR SIT com AMET DOT au>