|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
<div class="white-bg paxl border-radius-8">
|
|
|
|
|
<div class="white-bg p-4 border-radius-8">
|
|
|
|
|
|
|
|
|
|
<% heading_gutter = 30 %>
|
|
|
|
|
<% footer_gutter = 50 %>
|
|
|
|
|
@ -54,13 +54,13 @@
|
|
|
|
|
|
|
|
|
|
<svg id="measure-row-bars" x="25%" y=<%= heading_gutter %> width="75%">
|
|
|
|
|
<%= measure_graph_row_presenters.each_with_index do |presenter, index| %>
|
|
|
|
|
<rect class="measure-row-bar" x="<%= presenter.x_offset %>" y=<%= index * measure_row_height + (measure_row_height - measure_row_bar_height) / 2 %> width="<%= presenter.bar_width %>" height=<%= measure_row_bar_height %> fill=<%= presenter.bar_color %> />
|
|
|
|
|
<rect class="measure-row-bar" x="<%= presenter.x_offset %>" y="<%= index * measure_row_height + (measure_row_height - measure_row_bar_height) / 2 %>" width="<%= presenter.bar_width %>" height=<%= measure_row_bar_height %> fill=<%= presenter.bar_color %> />
|
|
|
|
|
<% end %>
|
|
|
|
|
</svg>
|
|
|
|
|
</g>
|
|
|
|
|
|
|
|
|
|
<g id="legend">
|
|
|
|
|
<text class="graph-footer" x="58.33%" y=<%= graph_background_height + (footer_gutter /2)%>>Benchmark</text>
|
|
|
|
|
<text class="graph-footer" x="58.33%" y="<%= graph_background_height + (footer_gutter / 2) %>">Benchmark</text>
|
|
|
|
|
</g>
|
|
|
|
|
</svg>
|
|
|
|
|
</div>
|
|
|
|
|
|