KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

How do I embed google gauge charts? #1184

Open sevgi opened this topic on on Nov 27 - 7 comments

sevgi commented on Nov 27

How do I embed gauge charts in the homepage? (html extension)

KoolReport commented on Nov 27

Hi Sevgi,

Could you please give me more details of how you want to embed chart? Do you have any difficulty or is there any error show? You may view our Googe Gauge Chart example.

sevgi commented on Nov 27

I need to see gauge charts on my dashboard.html page. I don't want to go to another page.

KoolReport commented on Nov 27

Our gauge chart work on php so your mainpage should have php extension: dashboard.php for example.

You can add this to your main page

    <?php
    \koolreport\widgets\google\Gauge::create(array(
        "dataSource"=>array(
            array("label"=>"Goal","value"=>80),
        ),
        "columns"=>array(
            "label",
            "value"=>array(
                "suffix"=>"%",
            )
        )
    ));
    ?>
sevgi commented on Nov 27

Fatal error: Uncaught Error: Class 'Gauge' not found in ../Smarty/libs/SmartyBC.class.php(0) : eval()'d code:2 Stack trace: #0

KoolReport commented on Nov 27

Please require the koolreport library with

require_once "path/to/koolreport/core/autoload.php";
sevgi commented on Nov 27

ı use Smarty: PHP Template Engine.atal error: Uncaught Error: Call to undefined function required() i

sevgi commented on Dec 2

dashboard.php how to export excel

KoolReport Is Free and Open-Source!

KoolReport is a professional php reporting framework which saves you tons of time to construct dynamic data report & dashboard.

  • Connect to various datasources such as MySQL, SQL Server, MongoDB or even from CSV or Excel file.
  • Contain series of powerful built-in data processes for your data manipulation.
  • Generate stunning charts and graphs to help you communicate data insights to your audiences effectively.
  • Integrate seamlessly with any php frameworks such as Laravel, CodeIgniter, Symfony.
Download Now and register our tutorials to get started!

Download KoolReport
None yet

None