Skip to main content

render_gauge

Function render_gauge 

Source
pub fn render_gauge(
    frame: &mut Frame<'_>,
    area: Rect,
    label: &str,
    index: usize,
    length: usize,
)
Expand description

Full-width level gauge mirroring the time bar. label is the current level’s readout (CF coordinate label or the dimension-name fallback); index/length position the fill. No-ops for zero-area or single-level variables so the dashboard can call it unconditionally.