Search found 565 matches

by Taqua
Fri May 09, 2008 7:14 pm
Forum: JFreeChart
Topic: Toolitps with Escape-Characters
Replies: 2
Views: 3349

This has been fixed at least for the StandardToolTipGenerator in the latest version. Upgrade and your error goes away.

The OverLIBToolTipTagFragmentGenerator seems to be a non standard class, it is not part of the main jfreechart distribution.
by Taqua
Fri May 09, 2008 7:08 pm
Forum: JFreeChart
Topic: problem in displaying chart in swing application.
Replies: 2
Views: 3671

I'd say: Learn how to use LayoutManagers. Your code removes all layout managers from all panels and then you do not set a size (using setSize(..) as setPreferredSize is a hint for the layout manager you already killed). Else, if you insist on not using a layout manager, then at least compute the lay...
by Taqua
Tue May 06, 2008 11:44 am
Forum: JFreeChart
Topic: Problem running on Websphere server on Unix platform
Replies: 13
Views: 10999

If you are in a web-application and all the jars are in the WEB-INF/lib directory, then they are added on the classpath automatically. However, your error might result from a simple Headless-Exception or a related problem. You are running your application on a server that has no X11 installed and no...
by Taqua
Sun May 04, 2008 2:06 pm
Forum: JFreeChart
Topic: jfreechart and ireport
Replies: 1
Views: 2825

Hmmm.. wouldnt that be a good question to be asked in the iReport forum?

At least the underlying JasperReports can integrate JFreeChart objects using the content-type "drawable". (There is even a demo for it in the standard demo collection.)
by Taqua
Wed Apr 30, 2008 6:04 pm
Forum: JFreeChart
Topic: jvm crash while using jfreechart
Replies: 6
Views: 7810

A headless exception is thrown if you try to instantiate a AWT-Window or AWT-Frame. Usually this is the case if you just copy&paste some demo code that extends DemoFrame or ApplicationFrame or such classes that extend Frame itself.

Show me a stacktrace and I can tell you which class is the frame ;)
by Taqua
Wed Apr 30, 2008 6:01 pm
Forum: Eastwood Chart Servlet
Topic: problem when when writing the graph as PNG
Replies: 6
Views: 56710

Well, the ClientAbortException sends a clear message. Your browser did not wait for the image to be sent completely. Maybe the user moved on to a different page, maybe the connection got dropped, whatever it was: You cannot do anything about it and headless mode has nothing to do with it. HTTP is a ...
by Taqua
Wed Apr 30, 2008 5:58 pm
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 6925

Just a very stupid question: Who is creating the jfreechart-dataset with those minutes/seconds in there? If the answer is "you", then why are you messing around with a custom numberformat instead of creating the dataset in a correct way? For instance instead of providing floating-point minutes, you ...
by Taqua
Tue Apr 29, 2008 8:38 pm
Forum: JFreeChart
Topic: OSX Crashes when calling saveChartAsPNG on the Mac
Replies: 5
Views: 4370

Try to run your server in headless mode. This usually fixes all kind of native errors, as the JVM then does not use the native AWT backend. No native calls to carbon = no trouble.

... or buy a PC :)
by Taqua
Sat Apr 26, 2008 10:08 am
Forum: JFreeChart
Topic: jvm crash while using jfreechart
Replies: 6
Views: 7810

You are running a server but are not in headless mode. Studdy the FAQ (or Google) on how to enable Headless-Mode and your server shall ran a lot better.
by Taqua
Wed Apr 23, 2008 2:49 pm
Forum: JFreeChart
Topic: Displaying data in tabular form
Replies: 1
Views: 2253

Isnt that a perfect question to be asked on the JasperReports forums?

Try again at http://www.jasperforge.org/
by Taqua
Mon Apr 21, 2008 2:30 pm
Forum: JFreeChart
Topic: Optimal chart image resolution
Replies: 2
Views: 3279

... and of course, if depends on where you need the image. .. Using raster-images for printing is not a good idea, you might want to feed the JFreeChart object's draw(..) method with your printer's Graphics2D object directly. If you want to display charts in the browsers, most of them nowadays use 9...
by Taqua
Tue Apr 15, 2008 1:09 pm
Forum: JFreeChart
Topic: Error storing Buffered image in a String
Replies: 3
Views: 3913

Sure, you cant. A buffered image is a binary structure, and thus cannot be simply converted into a string. I would say, head to the next library, grab a book about Java, AWT/Swing and Graphics2D and get some background information on how to use a BufferedImage correctly. As you are writing a Web-App...
by Taqua
Tue Apr 15, 2008 1:04 pm
Forum: JFreeChart
Topic: Chart displayed as Junk
Replies: 1
Views: 2247

Well, I would say: Grab a book on the Web-Basics and try to understand why HTML content and binary images cannot be mixed together.

In short: You need a servlet that serves the image (the binary data) to your browser, while the HTML file only contains a <img> tag pointing to the URL of your servlet.
by Taqua
Tue Apr 15, 2008 1:01 pm
Forum: JFreeChart
Topic: JFreeChart Printing Problem sending huge data to printer
Replies: 7
Views: 6355

This is caused by the Printing system of the JDK. Postscript (which is used as backend language) is not able to express Alpha-values on colors, so as soon as you start using transparency, the backend switches from Vector-Graphics into Raster-Image mode. Another reason for large spool-files can be th...
by Taqua
Mon Apr 14, 2008 2:00 pm
Forum: JFreeChart
Topic: Error storing Buffered image in a String
Replies: 3
Views: 3913

You class sits in the wrong directory. Well, root cause probably is that you did not have a "package" statement for the class, so that the compiled result belongs in the default-package, while you dropped the .class file in the directory for the package "myapp.webwork.beans" Could it be that you are...