2016-02-25 29 views

回答

0
// Set the rendering mode to JavaScript 
     FC_SetRenderer('javascript'); 

     // Call the renderChart method, which would return the HTML and JavaScript required to generate the chart 
     echo renderChart('Charts/Column2D.swf', // Path to chart type 
       '',  // Empty string when using Data String method 
       $strXML,// Variable which has the chart data 
       'top10_most_populous_cities', // Unique chart ID 
       '660', '400', // Width and height in pixels 
       false, // Disable debug mode 
       true // Enable 'Register with JavaScript' (Recommended) 
      ); 
+0

線49中給出給定 – user3021515

+0

以上代替FC_SetRenderer,請嘗試'FusionCharts.setCurrentRenderer('JavaScript');'。 – pallabB

+0

Dears thanks。, 現在我得到了這些錯誤.. 注意:使用未定義的常量FusionCharts - 假定'FusionCharts'在C:\ xampp \ htdocs \ chart1 \ testing.php在線43 致命錯誤:調用undefined第43行的C:\ xampp \ htdocs \ chart1 \ testing.php中的函數setCurrentRenderer() – user3021515

相關問題