将图表保存在Excel工作表中

问题描述:

我想知道是否可以将使用jfreechart开发的条形图,piechart直接保存在excel表中.如果可以的话,任何人都可以指导如何做到这一点.,jpeg格式,但可以直接将其保存在excel工作表中.

I want to know is it possible to save bargraph,piechart developed using jfreechart in excel sheet directly.If possible can anyone guide as to how this can be done.I know that using jfreechart we can save bargraph,piechart in .png,jpeg format but is it possible to directly save it in excel sheet.

否,仅使用JFreeChart是不可能的.但是,您可以使用 Apache POI 创建和处理Microsoft Office文档.

No, it is not possible using JFreeChart only. However, you can create and manipulate Microsoft Office documents using Apache POI.