Default Print Setting ?

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

Default Print Setting ?

Post by Alex » Mon Feb 17, 2003 5:09 pm

Hello,

Does anybody know how to default the print settings for a chart so they are set to print in Landscape mode.

For example, is there a way to do:

chart.setPrintModeOrientation(LANDSCAPE);

Many Thanks In Advance:

Alex

David Gilbert

Re: Default Print Setting ?

Post by David Gilbert » Tue Feb 18, 2003 6:47 am

Hi Alex,

At the moment, the ChartPanel just takes the default page format. You could subclass and override the createChartPrintJob() method to use something else.

Regards,

Dave Gilbert

Locked