create_grouped_bar_chart

Function create_grouped_bar_chart 

Source
pub fn create_grouped_bar_chart<'a, Outer, Inner>(
    grouped_time_log: BTreeMap<impl Into<Option<&'a Outer>>, BTreeMap<impl Into<Option<&'a Inner>> + Clone, Vec<&'a TimeLog>>>,
    title: &str,
    x_axis_label_rotate: f64,
    render: &mut RenderOptions<'_>,
) -> Result<(), ChartSettingError>
where Outer: Display + 'a, Inner: Display + 'a,
Expand description

Create a grouped bar chart, i.e., Hours per Label per User.

§Parameters

  • grouped_time_log: A map of Outer keys (e.g., Label) to a map of Inner keys (e.g., User) to value (Duration)
  • title: The title of the chart
  • x_axis_label_rotate: The rotation of the X-axis labels.
  • render: Options for the rendering of the chart.

§Errors