KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Bug with GeoChart #37

Open Marty opened this topic on on Jul 24, 2017 - 2 comments

Marty commented on Jul 24, 2017

I tried to use GeoChart but it did not initiate. I further investigate and find that geochart library is not loaded before it inits. I fixed it by changing the addScriptOnEnd() to addScriptOnBegin() and it works.

$this->getReport()->getResourceManager()
      ->addScriptOnBegin("google.charts.load('current', {'packages':['geochart']})");

Please apply this change to the next version.

KoolReport commented on Jul 24, 2017

Thank you very much for letting us know. The fix will be available in next version.

The example using GeoChart is working fine now.

Regards,

KoolPHP Inc

KoolReport commented on Jul 26, 2017

Please download the version 1.34.9 which included the fixed the all google charts

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug
solved

None