Module burndown

Module burndown 

Source
Expand description

Calculates the necessary data for burndown chart creation.

Re-exportsยง

pub use super::BurndownOptions;
pub use super::BurndownType;
pub use super::SeriesData;

Structsยง

AggregatedHours ๐Ÿ”’
Aggregated work hours per sprint and the total required hours for the project.

Functionsยง

aggregate_hours_per_sprint ๐Ÿ”’
Aggregates the logged hours per sprint and calculates the required hours. For BurndownType::PerPerson this returns one series per user. For BurndownType::Total this returns a single "Total" series.
calculate_burndown_data ๐Ÿ”’
Prepares the data for the burndown chart.
create_actual_hours_line ๐Ÿ”’
Creates the line from the actual hours worked per user for the burndown chart.
create_burndown_x_axis_labels ๐Ÿ”’
Creates the x-axis labels for the burndown chart. Start, W1..Wn if weeks_per_sprint == 1, S1..Sn otherwise.
create_ideal_burndown_line ๐Ÿ”’
Calculates the ideal burndown line.
project_end_date ๐Ÿ”’
Calculates the project end date from the start date, number of sprints and weeks per sprint.
sprint_index ๐Ÿ”’
Calculates the number of the week the date is in, based on the start date.