开发者

Extracting charts from Excel documents using POI or HSSF?

开发者 https://www.devze.com 2022-12-09 12:33 出处:网络
I\'ve got a bunch of Excel documents that have data on one sheet and a chart produced from the data on another sheet. I\'d like to take those documents and produce a series of HTML pages from them. Us

I've got a bunch of Excel documents that have data on one sheet and a chart produced from the data on another sheet. I'd like to take those documents and produce a series of HTML pages from them. Using POI (or HSSF) know I can read the data from the documents and produce a chart using some charting e开发者_开发技巧ngine. But the customer's not happy with the output of any engine I through this at and would be just happy with the graph that is already in the Excel spreadsheet. Does anyone know how I can extract that chart from Excel as a JPEG/PNG/GIF?


There is no chart "picture" stored in Excel,you must render your chart yourself if you are not using Excel.

0

精彩评论

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

关注公众号