开发者

How to call print option of JFreeChart

I have an application with some JFreeCharts. When I right-click them, one of the default options is "Print", so I can print the chart in paper.

I want to replicate that option in my appl开发者_Python百科ication main menu, File/Print, but I don't know what function of the chart does this, and when I try to look for this information in the JFreeChart Developer Guide, I get hundreds of System.PRINTln when searching.

Any help?


I believe that would be the createChartPrintJob() method within ChartPanel. (Or perhaps the print() method, depending on what you want to do.)

Details are here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜