Try our conversational search powered by Generative AI!

Google Visualization on the Dashboard


I have created a simple gadget that is suppossed to show a gauge control on the Dashboard.

I have invluded the script as follows in the gadgets module.config

  <add name="sample.gauge.script" path="" resourceType="Script" sortIndex="1" />
  <add name="sample.gauge.script" path="Content/GoogleGauge.js" resourceType="Script" sortIndex="2" />

    <add name="sample.gauge.script" />

Gadget loads fine, all scripts load fine.

But, I get this error: TypeError: google.visualization is undefined

For some reasson Google.load() is not able to load the pagkage. Running the sample in a standalone html page is no problem.

google.load('visualization', '1', { packages: ['gauge'] }); // This line is supossed to load the packages but is does not, no errors though.

This line fails:

gaugeData = google.visualization.arrayToDataTable([


Nov 06, 2013 13:13
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.