Search found 112 matches

by richard_atkinson
Thu Dec 01, 2005 7:51 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.0-rc3
Replies: 8
Views: 9936

More testing time?

Dave,

Could we get some more time to finish testing before you release 1.0.0-FINAL? One week between the RC and the FINAL is not very long. I think there is a bug in the StackedXYAreaRenderer that is producing some strange results, but I have not been able to track it down yet.

Regards,
Richard...
by richard_atkinson
Thu Feb 17, 2005 8:24 pm
Forum: JFreeChart
Topic: PNG-Encoder Performance
Replies: 26
Views: 65894

SVG?

Can you use SVG instead? The vector nature of the format would make it a lot easier.

Regards,
Richard...
by richard_atkinson
Tue Aug 10, 2004 3:00 pm
Forum: JFreeChart
Topic: ServletUtilities
Replies: 3
Views: 4777

ServletUtilities

I do not have a particular problem with the change. But do you have a particular reason why you could not just change the java.io.tmpdir using System.setProperty(...)? Do you particularly need your charts stored in a different temporary directory to other temporary files? If you do not need the Disp...
by richard_atkinson
Tue Jul 06, 2004 1:19 pm
Forum: JFreeChart
Topic: BAD Performance -> PNG Encoder
Replies: 4
Views: 8556

Re: BAD Performance -> PNG Encoder

I think this encoder works very slow. You really need to justify statements like that. How slow? What size of chart? etc. I've done some benchmarking with a 500x300 stacked area chart with 3 series and 15 points per series producing a PNG file of around 15KB. On a 1.6GHz P4 the time to encode the P...
by richard_atkinson
Sat Jul 03, 2004 11:32 am
Forum: JFreeChart
Topic: Problem in Recompile version 0.9.20
Replies: 2
Views: 4833

Missing source files

Everything is in CVS, so you can get hold of it from there. You can either use anonymous checkout using a CVS client or pick up the files using ViewCVS - http://cvs.sourceforge.net/viewcvs.py/jfreechart/.

Regards,
Richard...
by richard_atkinson
Fri Jul 02, 2004 8:57 pm
Forum: JFreeChart
Topic: ToolTips - version 0.9.13
Replies: 1
Views: 4087

TimeSeriesToolTipGenerator

Just implement another class which implements XYToolTipGenerator and use that instead. You can use the TimeSeriesToolTipGenerator as a template.

Regards,
Richard...
by richard_atkinson
Wed Jun 30, 2004 1:10 pm
Forum: JFreeChart
Topic: Pie Chart Tooltips
Replies: 3
Views: 5408

Getting rid of labels

Do you mean the ToolTips or the Labels? If it is the labels you are trying to get rid of try

Code: Select all

PiePlot plot = (PiePlot) chart.getPlot();
plot.setLabelGenerator(null);
Regards,
Richard...
by richard_atkinson
Mon Jun 28, 2004 9:43 pm
Forum: JFreeChart
Topic: Image Map Empty
Replies: 6
Views: 13928

ChartRenderingInfo

Passing the ChartRenderingInfo object basically tells the Renderer to collect information relating to ToolTips and URLs. Collecting the tooltip and URL information is pretty memory / processor intensive, so if you do not need them using the shorter method signatures speeds up the rendering quite sig...
by richard_atkinson
Mon Jun 28, 2004 9:02 pm
Forum: JFreeChart
Topic: Trying to understand
Replies: 10
Views: 16505

WAR file

Try right clicking on the WAR file link and clicking "Save target as" or whatever looks a likely option in your browser. In a default Tomcat installation you can drop it in the webapps directory and then start Tomcat and it will deploy automatically to /jfreechart-sample. Check you servlet engine lo...
by richard_atkinson
Mon Jun 28, 2004 8:20 pm
Forum: JFreeChart
Topic: Trying to understand
Replies: 10
Views: 16505

Servlet Problem

Do you have a servlet definition and mapping setup in your web.xml file? <servlet> <servlet-name>DisplayChart</servlet-name> <servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class> </servlet> <servlet-mapping> <servlet-name>DisplayChart</servlet-name> <url-pattern>/servlet/DisplayChart</...
by richard_atkinson
Mon Jun 28, 2004 8:04 pm
Forum: JFreeChart
Topic: Graph generated from website displays on wrong workstation
Replies: 2
Views: 4862

Image displaying on the wrong workstation

Sounds like you have a mismatch between a web based application and a normal X-Windows style application. Better to stick on one or the other. Either have the servlet generate the chart and return it over the HTTP connection or have the other clients launch Swing applications and generate their own ...
by richard_atkinson
Mon Jun 28, 2004 7:21 pm
Forum: JFreeChart
Topic: URGENT ERROR MESSAGE: LOG4J
Replies: 1
Views: 3912

Log4J error messages

The Log4J messages can be ignored, they just mean you haven't enabled anywhere to log the messages. The latest version of JFreeChart (0.9.20) doesn't use it so if you upgrade (API changes are minor) the message will go away. Try adding some of your own logging to find out which part of the chart gen...
by richard_atkinson
Mon Jun 28, 2004 7:15 pm
Forum: JFreeChart
Topic: Page taking longer time after adding charts
Replies: 4
Views: 8199

Not writing image to disk

There are methods in the ChartUtilities class for writing directly to an OutputStream - like response.getOutputStream(). However I would consider add some logging messages to benchmark your code to confirm where the bottleneck is before doing too much work. You may find the cost of writing the chart...
by richard_atkinson
Mon Jun 28, 2004 7:12 pm
Forum: JFreeChart
Topic: Image Map Empty
Replies: 6
Views: 13928

Empty Image Map

Here is a critical section from ImageMapDemo3 that you may have missed. final ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection()); final File file1 = new File("xychart100.png"); ChartUtilities.saveChartAsPNG(file1, chart, 600, 400, info); Unless you pass ChartRenderingIn...
by richard_atkinson
Fri Jun 25, 2004 12:37 pm
Forum: JFreeChart
Topic: The renderer / series spacing Conundrum (solved - with code)
Replies: 2
Views: 5693

Changing bar colors within a series

Take a look at BarChartDemo3. It may help you in solving your problem.

Regards,
Richard...