2 containerId = 'project-file-widget' + widget.id.to_s
3 chartTitle = widget_properties['chartTitle']
4 filterId = widget_properties['filter'].to_i
5 maxItems = widget_properties['maxItems'].to_i
6 reverseColor = widget_properties['reverseColor']
8 filter = MeasureFilter.find_by_id(filterId.to_i)
9 @widget_title = link_to h(filter.name), {:controller => 'measures', :action => 'filter', :id => filter.id, :display => 'list'}
12 <div class="histogram-widget" id="<%= containerId %>">
13 <!--[if lte IE 8 ]> <h3><%= message('widget.unsupported_browser_warning') -%></h3> <![endif]-->
15 <!--[if (gte IE 9)|!(IE)]><!-->
17 <h3><%= h(chartTitle) -%></h3>