FusionCharts致命错误未定义函数FC_SetRenderer()

时间:2016-02-25 07:08:36

标签: php mysql

亲爱的,请帮助我这样做,

我在FusionCharts中比较重要。使用FusionCharts创建聊天时,我会收到致命的错误,例如。

在第49行的C:\ xampp \ htdocs \ chart \ sample3 \ DrillDown_Child_Chart.php中调用未定义的函数FC_SetRenderer()

第49行见下文

1 个答案:

答案 0 :(得分: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)
            );