0
親愛的請幫我做到這一點,FusionCharts致命錯誤未定義函數FC_SetRenderer()
我是FusionCharts的biginer。當使用FusionCharts創建聊天時,我得到一個致命錯誤。
呼叫未定義的函數FC_SetRenderer()在C:\ XAMPP \ htdocs中\圖表\樣品3 \ DrillDown_Child_Chart.php上線49
線49下面
親愛的請幫我做到這一點,FusionCharts致命錯誤未定義函數FC_SetRenderer()
我是FusionCharts的biginer。當使用FusionCharts創建聊天時,我得到一個致命錯誤。
呼叫未定義的函數FC_SetRenderer()在C:\ XAMPP \ htdocs中\圖表\樣品3 \ DrillDown_Child_Chart.php上線49
線49下面
// 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)
);
線49中給出給定 – user3021515
以上代替FC_SetRenderer,請嘗試'FusionCharts.setCurrentRenderer('JavaScript');'。 – pallabB
Dears thanks。, 現在我得到了這些錯誤.. 注意:使用未定義的常量FusionCharts - 假定'FusionCharts'在C:\ xampp \ htdocs \ chart1 \ testing.php在線43 致命錯誤:調用undefined第43行的C:\ xampp \ htdocs \ chart1 \ testing.php中的函數setCurrentRenderer() – user3021515