mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
column can by given on the fly (dependency injection). Show Parent graphs on analyze page.
9 lines
517 B
Text
9 lines
517 B
Text
<svg width="100%" height="<%= svg_height %>">
|
|
<%= render partial: "graph_background", locals: {background: @background} %>
|
|
|
|
<% number_of_columns = columns.length %>
|
|
<% columns.each_with_index do |config, index| %>
|
|
<% p = Analyze::Graph::Column::GroupedBarColumnPresenter.new(measure: measure, school: @school, academic_years: @presenter.selected_academic_years, position: index , number_of_columns:, config: config) %>
|
|
<%= render partial: "grouped_bar_column", locals: {column: p} %>
|
|
<% end %>
|
|
</svg>
|