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
This commit is contained in:
Roman Rizzi 2024-01-22 11:21:28 -03:00 committed by GitHub
parent f669a6fa4c
commit 57915d9edc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}