You can work on hackyReport to support SVG. An example code to create SVG is here http://www.jfree.org/phpBB2/viewtopic.php?t=10359&highlight=svg If you need upgrade jfreechart you can talk to me. Dropping in new jar files is not enough for upgrade in normal case. Please also add example code into hackyReportExample. It's good working documentation and can help us do regression testing.
I think chart should be in bitmap in default. Very likely SVG will take much more space and browser does not have good support for SVG.
Hongbing
At 04:31 PM 5/9/2005, (Cedric) Qin ZHANG wrote:
(1) The motivation:
All my thesis graphs are vector based except hackystat graphs. Hackystat graphs are bitmaps, and Hackystat does not even allow user to specify the dimension of the generated bitmap. Bitmaps look ok in browsers, but if you want to move them elsewhere and resize them, they look terrible.
(2) The proposed solution:
Currently, we support chart, table, csv, xml. We can add svg support.
What we need to do is grab one jar file from apache svg, put it in hackyReport, and add less than 5 lines in hackyReport.
Whenever svg report is requested, we can return a link to the generated temporary svg file on the server (just like what csv and xml report type does).
In short term, we can make svg support hidden in Telemetry analyses. It will not show up in report type selector, but when a url like:
controller?analysis=TelemetryAnalysis&reportType=SVG&....
is received, then the link to svg file is returned.
In the long term, we can add one more option to the report type selector.
(3) Estimated effort and volunteer.
Less than half day to implement the hidden(short-term) svg support in telemtry analyses. If there is no objections, I can do it.
(4) Comments:
Comments please.
thanks.
Cedric
