Difference between revisions of "Widget:SunlampTableau"

From Open Energy Information

(added payback period viz)
Line 81: Line 81:
  
 
}
 
}
 +
 +
// Expected Bill Savings
 +
else if (pagename == 'Expected_Bill_Savings') {
 +
 +
$('#viz1496172646324').append("<noscript><a href='#'><img alt=' Potential for Energy and Demand Charge Savings from Solar + Storage Systems(Average across building types or locations, depending on user selection.) ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;DemandEnergySavings&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;DemandEnergySavings' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;DemandEnergySavings&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1496172646324');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
 +
 +
}
 +
 +
// Impact of Utility Rate Design
 +
else if (pagename == 'Impact_of_Utility_Rate_Design') {
 +
 +
$('#viz1504808718380').append("<noscript><a href='#'><img alt='RateDesign ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;RateDesign&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;RateDesign' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;RateDesign&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1504808718380');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
 +
 +
$('#viz1504808734886').append("<noscript><a href='#'><img alt='Impact of Demand Charge on Expected Savings from Solar and&#47;or Storage ' src='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Rate-DemandCharge&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SunLampResults-24April2017-forwebv4&#47;Rate-DemandCharge' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Su&#47;SunLampResults-24April2017-forwebv4&#47;Rate-DemandCharge&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object>");
 +
var divElement = document.getElementById('viz1504808734886');
 +
var vizElement = divElement.getElementsByTagName('object')[0];
 +
vizElement.style.width='804px';vizElement.style.height='869px';
 +
var scriptElement = document.createElement('script');
 +
scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 +
vizElement.parentNode.insertBefore(scriptElement, vizElement);
 +
 +
}
 +
  
  

Revision as of 12:32, 7 September 2017

This widget provides the Tableau visualizations for the Sunlamp webpages.

For example:

{{#Widget:SunlampTableau}}