google.charts.load fails in javascript when running on my local machine

14 views
Skip to first unread message

Maria Kicklighter

unread,
Jan 21, 2019, 3:30:35 PM1/21/19
to Google Visualization API
So I have used jsfiddle to prove my code works (see screenshot attached).  But when I try to use the javascript within the html on my local machine the browser just renders blank.  It can not get past" google.charts.load('current', {'packages': ['corechart']});" statement in the code.  I'm using laraval with php blade templates.  Attached is my html file from my local machine.

Thank you!


training_video_logs_charts.html
jsfiddleScreenshot.PNG

Maria Kicklighter

unread,
Jan 22, 2019, 9:24:40 AM1/22/19
to Google Visualization API
I found the answer.  My project is using the old templates called "smarty" and it needed the {liter}{/literal} tags to make it work: https://www.smarty.net/forums/viewtopic.php?p=79918

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages