Skip to main content

flatten_breakdown_data

Function flatten_breakdown_data 

Source
pub fn flatten_breakdown_data(data: &BreakdownData) -> Vec<BreakdownPeriodView>
Expand description

Flatten a BreakdownData into per-period row lists. The uncategorized sentinel bucket is translated into is_uncategorized = true so consumers can render it differently without knowing the sentinel value.