From 57915d9edc6f3a640a76161b8fc867af05eb707f Mon Sep 17 00:00:00 2001 From: Roman Rizzi Date: Mon, 22 Jan 2024 11:21:28 -0300 Subject: [PATCH] FIX: Radar chart not widely available. (#25368) We added support for radar type charts in #24274. However, radar charts work with three variables, meaning we can't display any report that way. Unfortunately, by adding `:radar` to the `Report#modes` variable, I made them widely available. Related bug report: https://meta.discourse.org/t/report-radar-graph-uncaught-typeerror/292360 --- app/models/report.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/report.rb b/app/models/report.rb index e53f0cfedae..0daa3e86f87 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -102,7 +102,7 @@ class Report @average = false @percent = false @higher_is_better = true - @modes = %i[table chart radar] + @modes = %i[table chart] @prev_data = nil @dates_filtering = true @available_filters = {}