• Content count

  • Joined

  • Last visited

Posts posted by Prerana

  1. Hello,

    Thanks for sharing the details.

    We have checked this issue using the current version of edge browser, and it is working as expected i.e the issue is not getting replicated.

    As the browser version, you have shared is a very old one so its difficult to debug.

    We have also noticed that you are using an older version of FusionCharts, please upgrade to the latest version which is 3.12.2.

  2. Hello,

    FusionCharts natively can't interpret with data.
    You have to form a SQL query based on properties selected by the user and then form JSON data corresponding to FusionCharts format by using the data fetched and then pass it to FusionCharts.

    Please refer the sample given here:

    You can also refer the sample fiddle given here to know more about the JSON format. :
    Hope this will help.

  3. Hello,

    To render chart using FusionCharts, a browser is needed.

    You can render the chart using a browser and then you can export the chart into the desired format. e.g. PNG, JPG, PDF, SVG, and XLS.

    You can attach the exported image to your pdf file. Attaching the exported image need to be done at your end.


  4. Just now, RoncalJustin said:

    Yes yes i just need a way to export it automatically without any user promt. will that be possible? or is there a way to write the whole chart in a pdf without exporting it as PNG?


    Thanks for the response.

    You can export the chart automatically. Please refer the sample link shared below.

    But if you want to attach the chart to any document that you need to achieve at your end.

  5. On 12/4/2017 at 11:11 AM, RoncalJustin said:

            $plots = $report->getPlotData();
            $ticket_projects = $report->getTicketProjects();
            $project_selected = $report->getProjects();

            $pieData = $report->getPieChart($ticket_projects);
            $jsonEncodedData = json_encode($pieData);
            $columnChart = new FusionCharts("pie3d", "ncmreportsummary" , 900, 450, "chart-1", "json",$jsonEncodedData);
            <div class="centered">
                <div id="chart-1"><!-- Fusion Charts will render here--></div>

            $html2='<div class="centered">'.$fusionCharts_HTML.'

                    // output the HTML content
            $pdf->writeHTML($html2, true, false, true, false, '');

            // reset pointer to the last page

    Please refer this forum post.