Search found 8 matches

by superjma
Sat Aug 23, 2003 7:36 pm
Forum: JFreeChart
Topic: Remove text on Pie3DChart
Replies: 2
Views: 4430

Remove text on Pie3DChart

I have the problem that the text on the Chart is too large to fit the picture (JPG). But the text on the Chart isn't necessary, because the title for each color is described in the box under the chart (the parameter called legend in the docs for ChartFactory.createPie3DChart). Therefore my plan is t...
by superjma
Fri Aug 22, 2003 11:36 am
Forum: JFreeChart
Topic: how to define the size of a plot area?
Replies: 3
Views: 5338

Titles?

If JFreeChart is allocating space for the title(s) etc., why are some of my text missing? I made a Pie3DChart which i saved as a Picture. The problem is that the Chart is that big, that the some of the text is outside the picture. Therefore you are only able to read some of the information. Hope its...
by superjma
Mon Jun 30, 2003 9:20 pm
Forum: JFreeChart
Topic: X11
Replies: 8
Views: 13058

Thanks.. but still problems

I use frames I guess.. This is the constructor.. I'm not sure if it is possible to do without frames.. public class grafdata extends ApplicationFrame { public grafdata(String title) { super(title); TimeSeries portfolio= new TimeSeries("Portfolio", Day.class); TimeSeries kfx= new TimeSeries("KFX", Da...
by superjma
Mon Jun 30, 2003 7:29 pm
Forum: JFreeChart
Topic: X11
Replies: 8
Views: 13058

OK now I got a bit further

I tried to use both -Dawt.toolkit=com.eteks.awt.PJAToolkit and -Djava.awt.headless=true. This resultet in some other errors.. but now it seems that it is using headless mode. Then I included import java.awt.*; which solved some more problems. Then I put a try{ grafdata graf = new grafdata("Performan...
by superjma
Mon Jun 30, 2003 7:15 pm
Forum: JFreeChart
Topic: X11
Replies: 8
Views: 13058

Still problems

It feels like it don't use this PJA property. [root@calm java]# /usr/java/j2sdk1.4.1_01/bin/java -Dawt.toolkit=com.eteks.awt.PJAToolkit grafdata Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11Gra...
by superjma
Sat Jun 28, 2003 7:21 pm
Forum: JFreeChart
Topic: X11
Replies: 8
Views: 13058

X11

I got a Redhat 9 server without any X installed. I get an exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. I used these system.properties but this did not help: Properties prop = System.getProperties (); prop.pu...
by superjma
Sat Jun 14, 2003 3:31 pm
Forum: JFreeChart
Topic: Offscreen Imaging: X11, DISPLAY, BufferedImage
Replies: 46
Views: 1715824

PJA do not work on RH9

I got a Redhat 9 server without any X installed. I got the same problem as described, with the error message: Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. I used these system.properties but this did not help...
by superjma
Sat Jun 14, 2003 12:21 pm
Forum: JFreeChart
Topic: NEWBIE problem
Replies: 1
Views: 3620

NEWBIE problem

Hi Are there anywhere a simple example on how to generate an XY-chart and save this in a JPEG-file? I can't find any example anywhere. I got the jfreechart-0.9.8-demo.jar to run fine but I do not know how to write my own JPEG file generator.. :( I'm able to get the data from the database, so my "onl...