<% heading_gutter = 30 %> <% measure_row_height = 40 %> <% graph_height = measure_graph_row_presenters.length * measure_row_height + heading_gutter %> <% measure_row_bar_height = 20 %> <% label_padding_right = 24 %> xmlns="http://www.w3.org/2000/svg"> text-anchor="middle" dominant-baseline="middle">Warning text-anchor="middle" dominant-baseline="middle">Watch text-anchor="middle" dominant-baseline="middle">Growth text-anchor="middle" dominant-baseline="middle">Approval text-anchor="middle" dominant-baseline="middle">Ideal fill-opacity="0.2" /> fill-opacity="0.2" /> fill-opacity="0.2" /> fill-opacity="0.2" /> fill-opacity="0.2" /> > <%= measure_graph_row_presenters.each_with_index do |presenter, index| %> y=<%= index * measure_row_height + measure_row_height / 2 %> text-anchor="end" dominant-baseline="middle"><%= presenter.measure_name %> <% end %> width="75%"> <%= measure_graph_row_presenters.each_with_index do |presenter, index| %> width="<%= presenter.bar_width %>" height=<%= measure_row_bar_height %> fill=<%= presenter.bar_color %> /> <% end %>