lib/measures/zone_report/measure.rb in openstudio-calibration-0.1.3 vs lib/measures/zone_report/measure.rb in openstudio-calibration-0.3.0
- old
+ new
@@ -595,10 +595,10 @@
# Add the hourly load data to JSON for the report.html
graph = {}
graph['title'] = ''
graph['xaxislabel'] = ''
graph['yaxislabel'] = 'Contribution Btu/hr/ft2'
- graph['labels'] = %w[index people lights equipment refrigeration other infiltration zone_ventilation interzone_mixing walls/doors roof/ceiling floor windows net/heating net/cooling]
+ graph['labels'] = ['index', 'people', 'lights', 'equipment', 'refrigeration', 'other', 'infiltration', 'zone_ventilation', 'interzone_mixing', 'walls/doors', 'roof/ceiling', 'floor', 'windows', 'net/heating', 'net/cooling']
graph['colors'] = ['#888855', '#AAAA55', '#3333AA', '#8888FF', '#888888', '#9999FF', '#AAAAFF', '#AA6666', '#777733', '#888833', '#999933', '#9999FF', '#FF9999', '#9999FF']
graph['data'] = stacked_vals
@graph_data << graph
end