Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088

This commit is contained in:
Nelson Jovel 2021-12-14 15:52:09 +01:00
parent f553c3c11c
commit eb4c699f60
4 changed files with 58 additions and 16 deletions

View file

@ -16,6 +16,7 @@ module VarianceHelper
end
def graph_background_height(number_of_rows:)
number_of_rows += 1 if @has_empty_dataset
graph_height(number_of_rows) - footer_gutter
end