The "No. plans by template" statistics and visualisation changes:
(1) The headers for the CSV for the Number of Plans by Template
             - the date column have dates in the format  'Jan 2018'
             - the template headers now display the Title of the templates
             - the Date and Count headers are capitalized.

        (2) The chart has been re-styled.
            The aspect ratio (width/height) of image is now dynamically
            set according to the selection of the month range.

        (3) Fixed broken rspec tests and rubocop errors/warnings.

        Fix for #1679.
dev
1 parent 83bbed5 commit 20c4fddd1895bb1b51351c7542a77dcb511b95da
@John Pinto John Pinto authored on 29 Mar 2019
Showing 6 changed files
View
app/javascript/views/usage/index.js
View
app/models/stat_created_plan.rb
View
app/views/usage/index.html.erb
View
lib/csvable.rb
View
spec/models/stat_created_plan_spec.rb
View
spec/requests/stat_created_plans_by_template_controller_spec.rb