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
Pb With AIX
Re: Pb With AIX
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.
http://www.object-refinery.com/phorum-3 ... 987&t=2987
Regards,
DG.
Re: Pb With AIX
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.
there isn't a JAVA exception. I create a good JPG File, but we can't see a LineChart in this file.
Re: Pb With AIX
Can you run the demos and display charts on screen? What happens when you save to PNG format, does that work?
Regards,
DG.
Regards,
DG.
Re: Pb With AIX
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
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
Re: Pb With AIX
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
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