% let colors = {'aut': '#9C4547', "cement": '#426AB0', "cons": '#000000', "IS": '#7CC9E7', "OG": '#E1932D'}%>
<% _.each(data,(item)=>{ %>
<% if(item.id === undefined){ return;}%>
<% console.log($(this).attr("class"), "==== class name", item.id) %>
<% if(view != 'sector_emmi'){ %>
<% } else { %>
<%= item.year %>
<%= (view=='sector_emmi')? 'Top 10 Average'+Math.round(item.top_10):Math.round(item.curr) %>
<%= (view=='sector_emmi')? 'Sector Average'+Math.round(item.sector):Math.round(item.revised) %>
<% } %>
<% $(function() { %>
<% /* global forecast_progress_bar */%>
<% forecast_progress_bar(item.id + "progressbar", progress_data, colors[item.id]) %>
<% }) %>
<% }) %>