create_pie_chart

Function create_pie_chart 

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

Create a pie chart.

§Parameters

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

§Errors