1、設計思路
(1)了解組合圖的特性以及用法,選用圖的類型;
(2)設計出兩根柱子和兩根折線,分開展示。
2、設計步驟
(1)設計頁
Column2DLine.html:
columnLine .xml:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>FuionCharts 2D柱状图和折线图组合图</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="../scripts/jquery-2.0.3.js"></script> <script type="text/javascript" src="../scripts/Charts/FusionCharts.js"></script> <script type="text/javascript"> $(function(){ var column2DLine = new FusionCharts( "../scripts/Charts/MSCombi2D.swf", "doubleAreaId", "100%", "540", "0" ); column2DLine.setXMLUrl("data/columnLine.xml"); column2DLine.render("columnLine"); }); </script> </head> <body> <p id="columnLine"></p> </body> </html>
ts 的內容,更多相關內容請關注PHP中文網(www.php.cn)!