Hi Stephen,

There are charting apps based on SVG that work directly in a web-browser.

Examples are:

* highcharts: http://www.highcharts.com/ (commercial/opensource)
* Google charts: http://code.google.com/intl/de-DE/apis/chart/ (some Google license) * http://mbostock.github.com/d3/: not so simple but very powerful - more than just charts. (BSD license)

I believe that all of these are browser-based and I doubt they work without modifications in Batik directly.

Maybe the above links can help, even if they are more browser-oriented and less java/Batik related.

Andreas

On Mon, 14 Nov 2011 16:28:37 +1100, Steve Cameron wrote:
Hello,

I have inherited a Java application that uses batik to create XY
scatter charts. There are some things that

I'd like to improve and I am thinking of swapping it over to make use
of JFreeCharts, which provides what I want pretty easily.

However, I am interested in SVG in general and am wondering if there
are others who have implemented a chart library/tool based on batik?

I'd like to add zooming capability, which of course SVG provides but
for charts there is the need to maintain the x and y axes in view at
the same time as you zoom in on the data. I'm sure this can be done by
applying separate transforms to the data region and separate x and y
axis regions, but that functionality is already available in
JFreeCharts.

Another issue is displaying a large number of points dynamically (I
swap the data set), is there a way to speed this up in dynamic SVG by
preventing the screen from repainting until all old points have been
removed and new ones added (or is this a foreign concept in SVG)?

I suspect that most Java based 2d charts use the java.awt.Graphics2D
class for the User Interface for performance reasons and render to SVG
using batik as an option. I'm wondering about the pro's and con's of
this approach, versus doing it all in SVG?

On advantage I can think of is that you could maintain a common set of
code for a web-based and a Java-based interactive charts library.

I hope that someone can point me in the right direction.

Thanks

Stephen Cameron

Antarctic Fisheries Computing and Database Support Provider

Australian Antarctic Division

Kingston, Tasmania

Phone: 03 62323571


___________________________________________________________________________


 Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If
you are not the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this
transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3
6232 3209 and
DELETE the message.
 Visit our web site at

___________________________________________________________________________

--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-h...@xmlgraphics.apache.org

Reply via email to