Skip to main content

bar_span

Function bar_span 

Source
pub fn bar_span(
    view: &TrendView<'_>,
    bar: &TrendBar,
    grain: &QualityGrain,
) -> String
Expand description

What a bar spans: the calendar range of its windows on a time grain, and its first and last segment otherwise. Rows with no time, which sort last, are said apart from the calendar.