Search found 565 matches

by Taqua
Sun Jun 29, 2008 11:40 am
Forum: JFreeChart
Topic: JFreeChart print job size.
Replies: 8
Views: 7957

The spool-file size is dependent on many factors: (1) Your printer: Bitmap printer (Ink-Jet) or Vector printer (Laser printer; PCL and Postscript) (2) Your printer driver (3) Your JDK When printing in Java, the JDK tries to map all Graphics2D operations directly into native rendering operations (vec...
by Taqua
Thu Jun 26, 2008 12:21 pm
Forum: JFreeChart
Topic: Dynamic Charts and EDT
Replies: 1
Views: 2142

Like with all UI components: All operations that manipulate a UI object or cause a redraw have to happen on the event-dispatcher thread.

Therefore: No, it is not safe to mess with the datasets outside the EDT.
by Taqua
Mon Jun 16, 2008 11:54 am
Forum: JFreeChart
Topic: Trying to capture tooltip rendering
Replies: 2
Views: 2957

Unless you are willing to generate a stacktrace and analyze that, you wont get any hint on who triggered the repaint. (And even that method is not safe to work, as paint events can be postponed by the rendering queue). What you could do is to avoid the repeated rendering by buffering the chart. (The...
by Taqua
Mon Jun 16, 2008 11:44 am
Forum: JFreeChart
Topic: Multithreading support for JFreeChart
Replies: 9
Views: 9746

I think adding synchronization to the chart-datasets and the chart rendering system is not a good idea. (1) Synchronization is expensive. Whenever you access a lock you have a potential context switch, so your code will be slower without any real gain so far. If you implement fine grained locks, the...
by Taqua
Mon Jun 09, 2008 2:08 pm
Forum: Eastwood Chart Servlet
Topic: Eastwood rewriting
Replies: 18
Views: 130317

This forum does not allow uploads (you know, the evil spammers would make our life a hell and lawyers rich and happy).

Any patches should always be posted at
http://sourceforge.net/tracker/?group_i ... tid=315494
(preferrably with a notification here, to increase the visibility of the patch)
by Taqua
Fri Jun 06, 2008 10:22 am
Forum: JFreeChart
Topic: Help Needed Urgently : Reporting MS Excel Charts
Replies: 1
Views: 2386

No, JFreeChart would not be able to help you here. In the Java-World, there is currently no open-source way to define charts in Excel (due to the weird and totally undocumented* nature of the fileformat). There may be some commercial providers of Excel-export solutions that help you solve this probl...
by Taqua
Fri May 30, 2008 1:18 pm
Forum: JFreeChart
Topic: JFreeChart as plugin Eclipse RCP
Replies: 2
Views: 2909

Why dont you make a plugin that has JFreeChart as only library and then you tell your other plugins to use that JfreeChart-base-plugin as dependency. This should solve all your problems.
by Taqua
Fri May 23, 2008 11:58 am
Forum: JFreeChart
Topic: Overflow the number of bins !!!
Replies: 5
Views: 4036

well, I repeat: DO NOT USE XY-Charts and do not use the out-of-the-box bining. If you look at your data closely, you will notice that you do not access each single address between min and max. I doubt that all 2 billion internet hosts talked to your network service and therefore you are dealing with...
by Taqua
Thu May 22, 2008 11:35 am
Forum: JFreeChart
Topic: Overflow the number of bins !!!
Replies: 5
Views: 4036

Dont use a XYChart, use a CategoryChart (Barchart) instead and do your own aggregation before you fire up the chart. I guess you do not receive messages from all 2^32 possible IP-addresses, you might be happy if there are a million or two different addresses show up. (As most IP addresses are part o...
by Taqua
Sat May 17, 2008 11:18 pm
Forum: JFreeChart
Topic: JFreeChart - Server side (Servlet) Style Questions
Replies: 2
Views: 3607

The good news: You can do all the things you listed here. The bad news: You have to code it all by yourself. To convert a hex-number into a Color, use Color#decode(..). All colors used in JFreeChart can have an alpha-channel, but again, there is no automatic global property, you have to manually def...
by Taqua
Sat May 17, 2008 11:10 pm
Forum: JFreeChart
Topic: Display JFreeChart inside a panel
Replies: 17
Views: 14825

Well, as the name suggests, a ChartPanel is a Swing-Component that displays a chart in a Swing-Component. If you need info on getting a swing-component displayed in an other swing component, then have a look at the Swing-Tutorials at java.sun.com, they give easy tutorials on how to write Swing-Appli...
by Taqua
Fri May 16, 2008 5:22 pm
Forum: JFreeChart
Topic: Display JFreeChart inside a panel
Replies: 17
Views: 14825

@see org.jfree.chart.ChartPanel
by Taqua
Sun May 11, 2008 7:15 pm
Forum: JFreeChart
Topic: Clarification regarding ServletUtilities while creating JFre
Replies: 4
Views: 5187

More on that: The files that are created are registered to be deleted as soon as the session of the user expires. So assuming that your users don't lurk on the server forever, the files that are generated should be deleted as well. And if your server hits the critical level of concurrent users all g...
by Taqua
Sun May 11, 2008 7:12 pm
Forum: JFreeChart
Topic: Clarification regarding ServletUtilities while creating JFre
Replies: 4
Views: 5187

The ServletUtilities class uses "File.createTempFile" to create the file. Therefore it is safe to be used in a multi-user application. The +2 increase you see in each file is just a side effect on how the JDK creates the file. However, the JDK guarantees that the new temporary file is created in a s...
by Taqua
Sat May 10, 2008 12:28 pm
Forum: JFreeChart
Topic: Problem running on Websphere server on Unix platform
Replies: 13
Views: 10999

No, but the headless mode must be activated before any of the AWT classes are loaded. When you try to set the property in the same servlet that also uses JFreeChart, then the classes are already loaded (as on loading the servlet, all dependent classes are loaded as well. Servlet references JFreeChar...