Search found 565 matches

by Taqua
Tue Nov 04, 2003 12:12 am
Forum: JFreeChart
Topic: can the JDK version affect ???
Replies: 1
Views: 1840

Hi,

and did you also add jcommon? It also contains some org.jfree.* classes shared among the various Jfree projects.

Have more fun,
said Thomas
by Taqua
Thu Oct 23, 2003 4:09 pm
Forum: JFreeChart
Topic: Still the Offscreen..native..on linux problem
Replies: 1
Views: 2980

Hi, the libAWT is linked against some X11 libraries. Well, even if you specify the headless property, the JDK will still need to compute font sizes. The headless property simply prevents the JDK from connecting to the XServer, it has nothing to do with your problem. Just find the package which provi...
by Taqua
Sun Oct 05, 2003 8:35 pm
Forum: JFreeChart
Topic: Run on Solaris (Sparc)
Replies: 1
Views: 1841

Hi,

what are the exceptions? If you get a "cannot connect to X-Server" error, then your JDK does not run in headless mode.

See

http://www.jfree.org/phpBB2/viewtopic.php?t=1012

for more details on that topic.

Have more fun,
said Thomas
by Taqua
Sun Oct 05, 2003 8:32 pm
Forum: JFreeChart
Topic: How to close mutiple windows?
Replies: 1
Views: 2215

Hi, I guess you've added a window listener, which calls System.exit() or your frames have the defaultCloseBehaviour of JFrame.EXIT_ON_CLOSE. The best solution is to dispose the frame on close, as the Disposing is necessary to safely enable the garbage-collection of the frame and the disposing will b...
by Taqua
Tue Aug 26, 2003 9:13 am
Forum: JFreeChart
Topic: X11 issue (not addressed elsewhere...as far as i can tell)
Replies: 3
Views: 3786

Hi, the DISPLAY variable has the format "hostname:display". Your display name does not specify a display so this may confuse the JVM. Try DISPLAY=xx.xx.xx.113:0 to use the primary X11-Session on your host. Have more fun, said Thomas Btw.: I you'd use ssh you would get automatic x11 forwarding (witho...
by Taqua
Sat Aug 23, 2003 12:48 pm
Forum: JFreeChart
Topic: does jfreecahrt requires XFree86 on Linux machine to display
Replies: 4
Views: 4062

Hi, if your provider supports Java1.4, you can use the headless AWT environment to create the graphics without having to install X-Windows. If not and you have control over the server (or your provider does the installation), then have a look at the E-Teks PJA. It is a pure java implementation of th...
by Taqua
Fri Aug 22, 2003 12:14 pm
Forum: JFreeChart
Topic: java.awt.HeadlessException
Replies: 3
Views: 8471

Hi, the demo tries to display a JFrame. This is not possible in an Headless environment, and without running the programm from an X-Server you will have a hard time to see or use the frame :) Try to login in a graphical session and use a xterm (or similiar programm) to start the deom. If your host d...
by Taqua
Sat Aug 02, 2003 2:37 pm
Forum: JFreeChart
Topic: Using JFreeChart and JFreeReport together
Replies: 1
Views: 2296

Hi, we are working on the task of bringing JFreeChart and JFreeReport together. At the moment, there is no easy solution for that and the simplest way is to create the chart outside of JFreeReport and add it as image (experimental: or drawable) object to JFreeReport. JFreeReport provides servlets to...
by Taqua
Mon Jul 21, 2003 11:52 pm
Forum: JFreeChart
Topic: Compilation problem with JFreeChart 0.9.9
Replies: 8
Views: 7232

Hi, the javac compiler has no global default file encoding, if the encoding is not specified at the start, then the platform default encoding is used. So using a default encoding of UTF8 would break any non-ascii character (the result would compile, but the non-ascii char would be gone and converted...
by Taqua
Sun Jul 20, 2003 8:45 pm
Forum: JFreeChart
Topic: We want to use and support JFreeChart, but
Replies: 2
Views: 2748

Hi, whoever wrote the first comment on that, was wrong that the LGPL is viral to other code. The Slashdot article was updated later to correct the issue. Some other users had the same question, this link leads to their answer: http://www.jfree.org/phpBB2/viewtopic.php?p=14282#14282 Have more fun, sa...
by Taqua
Wed Jul 16, 2003 7:37 pm
Forum: JFreeChart
Topic: How can i use writeChartAsJPEG with the browser
Replies: 4
Views: 4011

Hi, it depends on how you want to include your chart in the HTML document. If you use applets to generate the chart on the client side, then you can draw the chart directly into the applet area. If you have a server that generates the Servlet, then the writeAsJPEG method will be what you searched. U...
by Taqua
Tue Jul 08, 2003 6:15 am
Forum: JFreeChart
Topic: A sample project
Replies: 10
Views: 7214

Hi,

you dont need to edit the fonts.dir manually, there are tools to create that file for you:

Code: Select all

cd /usr/local/j2sdk/jre/lib/font
ttmkfdir -o fonts.dir
should create the "fonts.dir" file.

Have more fun,
said Thomas
by Taqua
Mon Jul 07, 2003 10:11 pm
Forum: JFreeChart
Topic: micing colors
Replies: 5
Views: 3869

Hi, from JFreeReport's internal library ... (we had a similiar problem a long time ago) /** * Adds two colors, the result is the mixed color of the base color and the paint color. * * @param base the base color * @param paint the overlay color * @return the merged colors. */ private Color addColor(f...
by Taqua
Wed Jul 02, 2003 3:16 pm
Forum: JFreeChart
Topic: How to export data into Excel from JFree chart?
Replies: 4
Views: 6677

Hi,
do You want to export
- A - the raw data ?
- B - the generated chart ?
In case B:
POI does not yet support images or charts in any way. So you cannot include the generated chart image or a corresponding excel chart in the POI output.

Have more fun,
said Thomas
by Taqua
Mon Jun 30, 2003 9:27 pm
Forum: JFreeChart
Topic: X11
Replies: 8
Views: 13104

Hi, as far as I can see, you are not using any of the frames methods, so remove the "extends ApplicationFrame" and the call to the super class constructor and it should work ... Your image is generated directly by using the saveChartAsJPEG method. This method is a static method of the class ChartUti...