create_multi_series

Function create_multi_series 

Source
fn create_multi_series<'a, T, Series>(
    grouped_time_log: BTreeMap<impl Into<Option<&'a T>>, Vec<&'a TimeLog>>,
) -> Vec<Series>
where T: Display + 'a, Series: MultiSeries,
Expand description

Calculate the total hours per key (i.e., User or Milestone) and create a Series for each data point to display in a chart. The key of the BTreeMap is Into<Option<T> to allow for Option<T> and non-Option<T> keys. If it is None, the key is “None”