开发者

Excel php chart generation

I am using PHPExcel library to read/write excel files. Now I want to generate a chart, or add an image (chart generated with pChart ). I would like to know if there are other libraries t开发者_运维百科hat support dinamic image insertion (not template images) or chart generation based on written data.


Your only PHP options at present to work with charts in Excel are:

  • To use PHP's COM extension with a copy of MS Excel itself on the server.
  • Ilia Alshanetsky's Excel extension< (xls only, and requires a commercial component).
  • The PHP wrapper around Open Office's alternative to COM (PUNO) (requires Open Office installed on the server with Java support enabled).

all of which use an external component for handling the excel data itself.

Reading and Writing charts is targeted for the next realease of PHPExcel (sometime between now and the end of June) for Excel 2007 (.xlsx) files, and in the following release (sometime around September) for BIFF (.xls) files

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜