Lazarus

Programming => Networking and Web Programming => Topic started by: hasib1220 on June 23, 2021, 09:53:38 pm

Title: Uncaught ReferenceError: google is not defined
Post by: hasib1220 on June 23, 2021, 09:53:38 pm
Hi all,
I am trying to run google charts files on Chromium Embedded Framework for Free Pascal. The version of CEF is 3.3029 which is pretty old. As a result I am having a hard time loading the google charts in that chromium browser. It works perfectly fine on a modern chrome or any other browser. But when I try to load any google charts it shows this error message:

Uncaught ReferenceError: google is not defined


When I check the developer console of my chromium browser I can see that the loader. js does not get loaded properly. Did anyone else face this problem. I will really appreciate it if someone can help me here since I am stuck here for weeks. Also I cannot update the chromium browser at this moment since it will be a really resource intensive project. I have attached a few screenshot here if that helps. Link to screenshots: https://drive.google.com/drive/folders/16W0usHKWikDZZUd4cZPXJ3hTtveHvIDl?usp=sharing

Code for google charts I am using: https://developers.google.com/chart/interactive/docs/quick_start
TinyPortal © 2005-2018