franta-hg@1: franta-hg@1: franta-hg@1:
franta-hg@1:Cewolf can be used inside a Servlet/JSP based web franta-hg@1: application to embed complex graphical charts of all kinds (e.g. line, franta-hg@1: pie, bar chart, plots, etc.) into a web page. Therefore it provides a franta-hg@1: full featured tag library to define all properties of the chart (colors, franta-hg@1: strokes, legend, etc.). Thus the JSP which embedds the chart is not franta-hg@1: polluted with any java code. Everything is described with XML conform franta-hg@1: tags.
franta-hg@1:Cewolf is based on JFreeChart and franta-hg@1: uses it's rendering engine to render the final chart image into the franta-hg@1: clients response stream. No files are created on server side. Everything franta-hg@1: is based on lightweight session objects and dynamic data analysis. franta-hg@1: Cewolf consists of one servlet which handles the chart rendering and a franta-hg@1: taglibrary which translates the chart definition included in the JSP franta-hg@1: into an HTML img tag which consults the rendering servlet for retrieval franta-hg@1: of the appropriate chart.
franta-hg@1:Simce the project has been funded in the middle of 2002 there have franta-hg@1: been more then 150.000 page views and 16.000 downloads franta-hg@1: (Sourceforge activity max: >99,7%).
franta-hg@1:franta-hg@1:
Fully free and open | franta-hg@1:100% Java compliant | franta-hg@1:
---|---|
franta-hg@1:
|
franta-hg@1:
franta-hg@1:
|
franta-hg@1:
Full featured Chart Tag Library | franta-hg@1:Huge number of different Charts | franta-hg@1:
franta-hg@1:
|
franta-hg@1:
franta-hg@1:
|
franta-hg@1:
franta-hg@1:
You can simply define a chart by including a chart tag into your JSP franta-hg@1: like this:
franta-hg@1:<cewolf:chartfranta-hg@1:
id="XYChart"
type="xy"
title="XYChart"
<cewolf:gradient>
<cewolf:point x="0" y="0" color="#FFFFFF"/>
<cewolf:point x="0" y="300" color="#C8C8C8"/>
</cewolf:gradient>
<cewolf:data>
<cewolf:producer id="xyData"/>
</cewolf:data>
</cewolf:chart>
<cewolf:img chartid="XYChart" renderer="cewolf" width="400" height="300"/>
This results in a rendered chart like this:
franta-hg@1: franta-hg@1:As you can see only the view is defined in the JSP page. The model franta-hg@1: is produced by a so called DataProducer which must be available in the franta-hg@1: pageContext of the JSP.
franta-hg@1: franta-hg@1: franta-hg@1: