You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Lev T <gu...@gmail.com> on 2006/03/14 16:17:08 UTC

Problems with exporting jFreeCharts to SVG using batik

Hi list!

I did encountered a little problem when tried to export charts to SVG format,
somehow PieCharts are not rendered properly.

I am not quite sure where is the source of a problem. My guess is it's
in batik, since I encounter this problem only with SVG formats.

Here are some examples of sectors not being rendered well:
(Screenshots of rendered SVGs)
http://www.imagedump.com/index.cgi?pick=get&tp=391593
http://www.imagedump.com/index.cgi?pick=get&tp=391594

Here is example of PNG, rendered without problems:
http://www.imagedump.com/index.cgi?pick=get&tp=391598

Attaching SVGs and even Example java application that will render
those pies using jFreeChart library:
http://www.jfree.org/jfreechart/

Any help will be appreciated, Thanks!

P.S.
I was using batik 1.6 and jFreeChart 1.0.1

Re: Problems with exporting jFreeCharts to SVG using batik

Posted by Lev T <gu...@gmail.com>.
Please check the links i provided with same charts exported to PNG
format, they are looking properly.

On 3/16/06, J B <mo...@gmail.com> wrote:
> When I look at the attached SVG files in Firefox hey look messed up as well.
>  I would guess it is a problem with the export function of JFreeChart.
>
> Birch
>
>
> On 3/14/06, Lev T <gu...@gmail.com> wrote:
> >
> Hi list!
>
> I did encountered a little problem when tried to export charts to SVG
> format,
> somehow PieCharts are not rendered properly.
>
> I am not quite sure where is the source of a problem. My guess is it's
> in batik, since I encounter this problem only with SVG formats.
>
> Here are some examples of sectors not being rendered well:
> (Screenshots of rendered SVGs)
> http://www.imagedump.com/index.cgi?pick=get&tp=391593
> http://www.imagedump.com/index.cgi?pick=get&tp=391594
>
> Here is example of PNG, rendered without problems:
>  http://www.imagedump.com/index.cgi?pick=get&tp=391598
>
> Attaching SVGs and even Example java application that will render
> those pies using jFreeChart library:
>  http://www.jfree.org/jfreechart/
>
> Any help will be appreciated, Thanks!
>
> P.S.
> I was using batik 1.6 and jFreeChart 1.0.1
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail:
> batik-users-help@xmlgraphics.apache.org
>
>
>
>

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


Re: Problems with exporting jFreeCharts to SVG using batik

Posted by th...@kodak.com.
Hi all,

        I was going to respond earlier but I haven't had the time to look 
at the sample files.
I suspect that this a bug that was fixed since the 1.6 release.  I would 
suggest testing with the
lastest version of Batik from SVN.

        You could also check Batik's bugzilla for more background on the 
bug that was fixed.

"J B" <mo...@gmail.com> wrote on 03/16/2006 03:08:23 PM:

> When I look at the attached SVG files in Firefox hey look messed up as 
well. 
> I would guess it is a problem with the export function of JFreeChart.
> 
> Birch

> On 3/14/06, Lev T <gu...@gmail.com> wrote:
> Hi list! 
> 
> I did encountered a little problem when tried to export charts to SVG 
format,
> somehow PieCharts are not rendered properly.
> 
> I am not quite sure where is the source of a problem. My guess is it's
> in batik, since I encounter this problem only with SVG formats. 
> 
> Here are some examples of sectors not being rendered well:
> (Screenshots of rendered SVGs)
> http://www.imagedump.com/index.cgi?pick=get&tp=391593 
> http://www.imagedump.com/index.cgi?pick=get&tp=391594
> 
> Here is example of PNG, rendered without problems:
> http://www.imagedump.com/index.cgi?pick=get&tp=391598
> 
> Attaching SVGs and even Example java application that will render
> those pies using jFreeChart library:
> http://www.jfree.org/jfreechart/
> 
> Any help will be appreciated, Thanks!
> 
> P.S.
> I was using batik 1.6 and jFreeChart 1.0.1
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


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


Re: Problems with exporting jFreeCharts to SVG using batik

Posted by J B <mo...@gmail.com>.
When I look at the attached SVG files in Firefox hey look messed up as
well.  I would guess it is a problem with the export function of JFreeChart.

Birch

On 3/14/06, Lev T <gu...@gmail.com> wrote:
>
> Hi list!
>
> I did encountered a little problem when tried to export charts to SVG
> format,
> somehow PieCharts are not rendered properly.
>
> I am not quite sure where is the source of a problem. My guess is it's
> in batik, since I encounter this problem only with SVG formats.
>
> Here are some examples of sectors not being rendered well:
> (Screenshots of rendered SVGs)
> http://www.imagedump.com/index.cgi?pick=get&tp=391593
> http://www.imagedump.com/index.cgi?pick=get&tp=391594
>
> Here is example of PNG, rendered without problems:
> http://www.imagedump.com/index.cgi?pick=get&tp=391598
>
> Attaching SVGs and even Example java application that will render
> those pies using jFreeChart library:
> http://www.jfree.org/jfreechart/
>
> Any help will be appreciated, Thanks!
>
> P.S.
> I was using batik 1.6 and jFreeChart 1.0.1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
>
>