Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
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
<clientResources>
<add name="sample.gauge.script" path="http://www.google.com/jsapi" resourceType="Script" sortIndex="1" />
<add name="sample.gauge.script" path="Content/GoogleGauge.js" resourceType="Script" sortIndex="2" />
</clientResources>
<clientModule>
<requiredResources>
<add name="sample.gauge.script" />
</requiredResources>
</clientModule>
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([