Has anyone used JFreeChart to generate SVG charts that include tooltips for the data points?
I generate the SVG charts fine for my TimeSeries charts, but there are no tooltips. The only tooltip support I can find are for PNG and JPEG graphics. It is looking like I'll have to go into the Batik API or manipulate the DOM directly to have this functionality which sounds like it will be a headache.
I would really appreciate a point in the right direction. The documentation for SVG support is minimal and I can't find mention of any SVG use on the forum. Are there really that few people using SVG? It seems like such a powerful tool.
Thanks,
Les
Tooltips with SVG
Re: Tooltips with SVG
Hi Les,
I haven't explored Batik in depth. The Graphics2D implementation provided by Batik makes it simple to generate charts in SVG format, but doesn't really provide access to special features of SVG. I'm not sure what would be the best way to transfer tool tip information to SVG...
Regards,
DG
I haven't explored Batik in depth. The Graphics2D implementation provided by Batik makes it simple to generate charts in SVG format, but doesn't really provide access to special features of SVG. I'm not sure what would be the best way to transfer tool tip information to SVG...
Regards,
DG
Re: Tooltips with SVG
I am not sure how this is realised in JFreeChart but I think it should be no problem:
have a look in:
http://xml.apache.org/batik/javadoc/org ... Agent.html
regrads
Akmal
have a look in:
http://xml.apache.org/batik/javadoc/org ... Agent.html
regrads
Akmal