Pb With AIX

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
yoyo

Pb With AIX

Post by yoyo » Mon Sep 23, 2002 9:32 am

Hi
I use Jfreechart with NT and AIX ( UNIX On OS 390). Every kind of chart make good with NT but, I can't draw a good graph oN AIX . I can create a JPEG file but the AreaXYChart, the LineChart , the VerticalBarChart and the ScatterPlot don't appear in this file .

I use :
XYPlot xyp=new XYPlot(data,new HorizontalNumberAxis("x"),new VerticalNumberAxis("y"));
chart=ChartFactory.createScatterPlot(titel,(String)cat,"",data,true);

Somebody have ever this kind of mistake ?

thank

David Gilbert

Re: Pb With AIX

Post by David Gilbert » Mon Sep 23, 2002 5:37 pm

I'm not familiar with AIX. Could this be the 'X11 not running' problem?

http://www.object-refinery.com/phorum-3 ... 987&t=2987

Regards,

DG.

yoyo

Re: Pb With AIX

Post by yoyo » Tue Sep 24, 2002 9:44 am

it isn't a 'X11 not running' problem

there isn't a JAVA exception. I create a good JPG File, but we can't see a LineChart in this file.

David Gilbert

Re: Pb With AIX

Post by David Gilbert » Wed Sep 25, 2002 8:47 am

Can you run the demos and display charts on screen? What happens when you save to PNG format, does that work?

Regards,

DG.

seb

Re: Pb With AIX

Post by seb » Fri Sep 27, 2002 10:47 am

When saving in PNG format, the file produced is not valid
and can t be read.

The valid JPG file contains only legend and not the graph
for all type of graph except PieChart.

Thanks

Seb

seb

Re: Pb With AIX

Post by seb » Mon Sep 30, 2002 3:32 pm

I finally found what was missing.

I had set the LabelFont of both axis,

I just needed to set the TickLabelFont to "Lucida Sans", as
i did for LabelFont and it worked.


Bye,
Seb

Locked