Php Chart复制到excel [英] Php Chart copy to excel

查看:60
本文介绍了Php Chart复制到excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将Php图表复制到Excel?



例如,



我显示为Html表格结构学生标记并在上面显示标记信息以在PHP中绘制折线图。现在我的输出显示表格结构和图表,以导出excel包括折线图和数据。



请朋友帮我解决这个问题。

How to Copy Php Chart to Excel?

For example,

I displayed like Html Table Structure Student Marksheet and display above for Marksheet information to draw line chart in php.. Now my output is displayed table structure and chart to export to excel both line chart and data.

Please Friends help me to solve this.

推荐答案

试试这个,



http://www.shotdev.com/php/ php-excel-chart / php-excel-chart-graph-export-to-gif-jpg / [ ^ ]



或尝试使用fputcsv



http:/ /us2.php.net/manual/en/function.fputcsv.php [ ^ ]
try this,

http://www.shotdev.com/php/php-excel-chart/php-excel-chart-graph-export-to-gif-jpg/[^]

or try using fputcsv

http://us2.php.net/manual/en/function.fputcsv.php[^]


我认为你不能一次性导出到Excel ,但您可以单独导出它们。如果你正在使用phpChart,请看看这个



phpChart和网格集成演练:

http://phpgrid.com/example/phpgrid-phpchart-integration-with-live-example/ [<一个href =http://phpgrid.com/example/phpgrid-phpchart-integration-with-live-example/target =_ blanktitle =新窗口> ^ ]



在线演示:

http://phpdatagrid.com/examples /phpgrid_phpchart_integration.php [ ^ ]
I don't think you can export to Excel all at once, but you can export them individually. If you are using phpChart, take a look at this

phpChart and grid integration walk through:
http://phpgrid.com/example/phpgrid-phpchart-integration-with-live-example/[^]

Online demo:
http://phpdatagrid.com/examples/phpgrid_phpchart_integration.php[^]


这篇关于Php Chart复制到excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆