|
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); |
- Re: where are svg attributes width and height? phillip rhodes
- Re: where are svg attributes width and height? Vincent Hardy
