From: Nathaniel G. A. <nat...@ya...> - 2003-10-30 01:48:35
|
The encoder methods take an OutputStream as an argument so you can pass any Implementation through them. Why not pass a FileOutputStream to it? --- pve...@ic... wrote: > > > Hi all. > > Well, I'm trying to export a jchart to a .png or .gif file. > > To achive that, all I need is the BufferedImage of the chart. > > I have an axisChart, and this is the code to generate it. > > axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, > legendProperties, (int) dimension.getWidth(), > (int) dimension.getHeight() ); > > BufferedImage image = axisChart.getBufferedImage(); > > But always the image is null. So, I don't know where the problem is. Any > comments will be aprecciate. > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |