Search found 5 matches

by nemesi8s
Fri Jul 16, 2010 12:06 pm
Forum: JFreeChart
Topic: Programatically save a chart as an image
Replies: 6
Views: 17119

Re: Programatically save a chart as an image

skunk wrote:Look at org.jfree.chart.ChartUtilities
That stuff is a piece of sh**. It generates a low quality image (even if the image quality float is maximized), with lower (yes, it can be lower) quality text on it. Sadly there's no other method for saving a chart to file...
by nemesi8s
Tue Jul 13, 2010 11:39 am
Forum: JFreeChart
Topic: bar chart question & problem
Replies: 0
Views: 2796

bar chart question & problem

Hi all! Question: is there a way to generate a jpg without the size of the image? For now i'm generating with ChartUtilities where i must add the size of the image... Problem: I am generating an image from charts with ChartUtilities, where the image's height is dynamic according to rows number (row_...
by nemesi8s
Tue Jul 13, 2010 11:31 am
Forum: JFreeChart
Topic: Using JFreeChart with JSP's
Replies: 1
Views: 4639

Re: Using JFreeChart with JSP's

Generate a jpeg from the chart, and send as image content to the site, or show from a byte array.
by nemesi8s
Mon Jun 28, 2010 8:57 pm
Forum: JFreeChart
Topic: JFreeChart chart coloring problem
Replies: 2
Views: 4771

Re: JFreeChart chart coloring problem

Thanks!

However I just resolved the problem. Use ChartUtilities.writeChartAsJPEG for writing to outputStream.
by nemesi8s
Mon Jun 28, 2010 3:28 pm
Forum: JFreeChart
Topic: JFreeChart chart coloring problem
Replies: 2
Views: 4771

JFreeChart chart coloring problem

Hi guys! I have a web application, I must export my charts into pdf, that's why i chosed jfreechart. I create my chart like this: public void piePaint(OutputStream out, Object data) throws IOException{ JFreeChart chart = createPieChart( getModel().getPieData()); if (data instanceof MediaData) { Buff...