在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1、示例1 <?php $strXML = ""; $strXML .= "<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0'>"; $strXML .= "<set name='Jan' value='462' color='AFD8F8' />"; $strXML .= "<set name='Feb' value='857' color='F6BD0F' />"; $strXML .= "</graph>"; echo renderChartHTML("../../FusionCharts/FCF_Column3D.swf", "", $strXML, "myNext", 600, 300); ?> http://docs.fusioncharts.com/charts/contents/guide-for-web-developers/php/PHP_BasicExample.html http://hi.baidu.com/miracletan2008/item/ecf1778aacd242d05e0ec1a9 http://blog.sina.com.cn/s/blog_813e149b01017rwp.html http://blog.csdn.net/daguigto/article/details/4490902 2、示例2 //Initialize <chart> element $strXML = "<chart caption='Tickets by Issue Types' formatNumberScale='0'>"; foreach ($issuetype as $issue){ $strXML .= "<set label='" . $issue[2] . "' value='" . $issue[3] . "' />"; } //Close <chart> element $strXML .= "</chart>"; //Create the chart - Column 2D Chart with data contained in strXML echo renderChart("FusionCharts/Charts/FCF_Column2D.swf", "issueTypes", $strXML, "", 600, 300, false, true); http://stackoverflow.com/questions/3724832/php-creating-an-xml-string-for-fusioncharts-help 3、更多讲解 http://wenku.baidu.com/view/820e213e376baf1ffc4fadcc.html http://wenku.baidu.com/view/8a52dff6f61fb7360b4c659d.html |
2022-07-22
2022-07-29
2022-08-30
2022-08-17
2022-08-15
请发表评论