the plan to export an SVG file to Inkscape doesn't mean to use code
of Inkscape, but to produce a kind of *.svg template for the
following chart types:
* BarChart
* LineChart
* ScatterChart
* StepChart
* PieChart (will be included hopefully soon)
As SWTChart handles XY series, the template could be easily filled
with the XY data, which makes it independent of the display size.
Sanatt already did a great job to add the Batik SVG export. Another
way would be to use a template.
Best,
Philip
Am 12.02.20 um 11:18 schrieb Sanatt
Abrol:
Hey Yash,
Inkscape is licensed under GPL and hence we can't use it
with Eclipse SWTChart which is licensed under EPL 2.0 .
Best,
Sanatt
On Wed, Feb 12, 2020 at 9:59
PM yash Bharatiya <yashsoc@xxxxxxxxx> wrote:
Hi,
Currently SWTChart uses Apache Batik's SVGGraphics2D to
export as *.svg file ,
but how do we use Inkscape inside java code for
exporting as *.svg format.
Normally we can export SWTChart as *.jpg format and
then use Inkscape to convert that .jpg file into .svg file
using Inkscape.
Is there any java support available for Inkscape to be
used like SVGGraphics2D.
Also about Extending R-Script export for SWTChart,I saw
that it is already available in the sample charts given.
--
~~~~~~~~~~~~~~~~~~~~~~~~
OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx » http://www.openchrom.net
~~~~~~~~~~~~~~~~~~~~~~~~