create_bar_chart

Function create_bar_chart 

Source
pub fn create_bar_chart<'a, T>(
    grouped_time_log: BTreeMap<impl Into<Option<&'a T>>, Vec<&'a TimeLog>>,
    title: &str,
    x_axis_label: &str,
    render: &mut RenderOptions<'_>,
) -> Result<(), ChartSettingError>
where T: Display + 'a,
Expand description

Create a bar chart.

§Parameters

  • grouped_time_log: A map of keys (e.g., User or Milestone) to a list of time logs
  • title: The title for the chart
  • x_axis_label: The text set for the X-axis
  • render: Options for the rendering of the chart.

§Errors