Difference between revisions of "Widget:WFSPCompare"

From Open Energy Information

(upgrades to viz)
(changing button colors (again))
Line 78: Line 78:
 
g.button text.buttonText {
 
g.button text.buttonText {
 
   font-family: Oxygen;
 
   font-family: Oxygen;
 +
  fill: #333322;
 
}
 
}
  
Line 883: Line 884:
 
       var labels= ['Today','Last 7 Days','Last 30 Days','Last Year','Custom Range','Reset'];
 
       var labels= ['Today','Last 7 Days','Last 30 Days','Last Year','Custom Range','Reset'];
  
       var defaultColor= "#303f9f";
+
       var defaultColor= "#12f494";
       var hoverColor= "#001980";
+
       var hoverColor= "#2BDA82";
       var pressedColor= "#303f9f";
+
       var pressedColor= "#12f494";
  
 
       var buttonGroups= allButtons.selectAll("g.button")
 
       var buttonGroups= allButtons.selectAll("g.button")

Revision as of 14:37, 15 September 2017

This widget provides a comparison tool for the Wind for Schools Portal content. It generates a table, visualizations, and interactive interface for exploring/comparing wind turbine data between participating schools.

For example:

{{#Widget:WFSPCompare}}