hi,
i want to draw charts, but i want them to be included in a JSP page, and i can have them only in frame...
i tried this code but it doesn't work:
chart.draw(svgGenerator, new Rectangle2D.Double(0, 0, 400, 300), new com.jrefinery.chart.DrawInfo());
// Finally, stream out SVG to a file using UTF-8
// character to byte encoding
boolean useCSS = true; // we want to use CSS style attribute
Writer out2 = new OutputStreamWriter(new FileOutputStream(new File("test.svg")),"UTF-8");
svgGenerator.stream(out2, useCSS);
and i don't really understand what are :
- UTF-8
- useCSS
thanks for help,
charlotte.