Search found 565 matches

by Taqua
Mon Sep 29, 2008 8:35 pm
Forum: JFreeChart
Topic: Memory Leak?
Replies: 12
Views: 9202

Well, if you hold a reference to the same dataset instance all the time, then you will run into trouble. But for reporting needs, you usually create a new dataset based on data from a database or so each time you run a report. And if you have a long running global object, then well, you may have to ...
by Taqua
Thu Sep 18, 2008 7:39 am
Forum: JFreeChart
Topic: Sorting in JFreechart
Replies: 2
Views: 3618

You are always free to sort your dataset in anyway you want *before* you provide it to JFreeChart. Otherwise: Implement a dataset that maintains the order you want. Datasets are interfaces and the classes shipped with JFreeChart are just one possible implementation.
by Taqua
Mon Sep 08, 2008 3:32 pm
Forum: JFreeChart
Topic: java.lang.NoClassDefFoundError in Netbeans
Replies: 4
Views: 7008

... and did you include jcommon as well?
by Taqua
Wed Aug 06, 2008 12:39 pm
Forum: JFreeChart
Topic: Export Control Classification Number
Replies: 3
Views: 5379

There is none. A ECCN is a US invention, and as JFreeChart is not developed by a US-company, applying for a ECCN makes no sense at all (at least for us European developers ;).

If you need a ECCN for any version, then you would have to do the bureaucratic act on your own.
by Taqua
Fri Aug 01, 2008 9:08 am
Forum: JFreeChart
Topic: Japanese Font appears garbled on IBM AIX
Replies: 5
Views: 5092

If you define no font explicitly, then the Chart will use one of the logical fonts. JDK contains a mapping between logical font names and physical font names, so for rendering text, the JDK then looks up the appropriate physical to be used. Therefore the text-display heavily depends on whether your ...
by Taqua
Fri Aug 01, 2008 8:59 am
Forum: JFreeChart
Topic: .jar file problem
Replies: 4
Views: 3734

Does the IDE have it's own classpath, independent of the PC environment variable? Of course it has. How else would the IDE be able to support working with multiple projects running with possibly incompatible JAR files? IDEs usually only generate JAR files for the classes edited in them. They do not...
by Taqua
Tue Jul 29, 2008 2:34 pm
Forum: JFreeChart
Topic: Saving Chart as JPEG or PNG Bug ??
Replies: 1
Views: 2728

Do you close the streams? If you do not close the streams, then data might still sit in buffers and until you close your program, the streams will not be closes and pending data will not be written to disk.
by Taqua
Mon Jul 28, 2008 8:23 pm
Forum: JFreeChart
Topic: Configure Eclipse 3.3 to use JFreeChart
Replies: 3
Views: 3827

No, ANT is only required if you want to use the provided ant-scripts to rebuild the jfreechart-jar files. For ordinary development, the pre-built jar files and/or the sources should be fully sufficient.
by Taqua
Sun Jul 27, 2008 8:13 am
Forum: JFreeChart
Topic: Configure Eclipse 3.3 to use JFreeChart
Replies: 3
Views: 3827

Well, along with the JDK, you also need to install ANT.

http://ant.apache.org/
by Taqua
Tue Jul 22, 2008 1:37 pm
Forum: JFreeChart
Topic: DataSource for JFree
Replies: 2
Views: 3327

JFreeChart's datasources are interfaces, so only your imagination and your java-compiler define the limits on what you can do with JFreeChart.
by Taqua
Tue Jul 22, 2008 1:36 pm
Forum: JFreeChart
Topic: export jfree chart to MSWord
Replies: 3
Views: 3581

Well, not fully true: RTF *can* contain images - but it is a mess. An easy way to create RTF-documents is to use iText to build up your document and to include AWT-images in the document. So: (1) Create images from your charts (2) Create the iText-document and insert the images there. (3) Save the d...
by Taqua
Wed Jul 09, 2008 8:24 pm
Forum: JFreeChart
Topic: null pointer in Oracle JVM
Replies: 3
Views: 4378

Enable the headless mode. The NPE comes from deep inside the AWT, and is not caused by any JFreeChart code. The headless mode is available on JDK 1.4 or higher and allows you to run code that generates graphics in a server environment. The AWT should never expose NullPointerExceptions to the user, s...
by Taqua
Wed Jul 09, 2008 7:45 pm
Forum: JFreeChart
Topic: null pointer in Oracle JVM
Replies: 3
Views: 4378

Without a stacktrace it is really hard to tell what failed.
by Taqua
Sun Jul 06, 2008 2:55 pm
Forum: JFreeChart
Topic: Gtk-WARNING **: cannot open display:
Replies: 1
Views: 2354

Have you enabled the HEADLESS mode?
@See FAQ for details
by Taqua
Thu Jul 03, 2008 2:29 pm
Forum: JFreeChart
Topic: Non-mathematical function
Replies: 4
Views: 3416

In that case, add two functions instead of one. (Or in JFreeChart speech: Use two series instead of just one.) A function is defined as a mapping between some input values into a single output value. There is no way how you could draw a circle under these conditions. However, in geometry, if you wan...