xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hardy <vincent.ha...@sun.com>
Subject Re: where are svg attributes width and height?
Date Thu, 05 Sep 2002 08:21:06 GMT
Phillip,

Could you send the generated SVG?

Vincent.

phillip rhodes wrote:
> Newbie of course.
> I am using batik within jfreechart,and calling the 2d api's to draw my 
> chart.
>  
> I pass in the width and height, but in my svg xml(generated by batik) , 
> there is no width or height attribute.
>  
> Can you point me to my failings?
> Thanks!
>  
> Here is some an additional code snippet.
> SVGGraphics2D svgGenerator = new SVGGraphics2D(document);
> // Ask the chart to render into the SVG Graphics2D implementation
> chart.draw(svgGenerator, new Rectangle2D.Double(0, 0,  
> chartParms.getWidth(), chartParms.getHeight()), null);
>  



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


Mime
View raw message