-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Right now an error is raised if an empty list is passed to a data set:
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in MapSet.new_from_list/2
(elixir 1.13.4) lib/map_set.ex:119: MapSet.new_from_list(nil, [nil: []])
...
While there is arguably not much use of displaying an empty chart, it means that somewhat awkward conditional logic is required for cases where there is no data to show in the chart. Personally I'd like to see a way to display a custom "empty state" message where the chart otherwise would be with the same dimensions.
Metadata
Metadata
Assignees
Labels
No labels