Expand description
Ratatui renderer. Returns a RatatuiChart wrapper that owns the
axis strings and f64 datasets that ratatui::widgets::{Chart, BarChart} borrow. The CLI draws it by calling
RatatuiChart::draw(&mut frame, area) on its report screen.
Chart kinds map to ratatui widgets as follows:
ChartKind::Line→Chartwith oneDatasetper series.ChartKind::Bar→BarChart, oneBarGroupper x-slot.ChartKind::StackedBar→ same asBar; ratatui’sBarChartdoes not stack natively. Documented in plan §Risk 2.
Structs§
- Ratatui
Chart - Owning wrapper around the ratatui chart widgets’ borrowed state.
Construct with
render_ratatui(&spec); draw with.draw(frame, area)from the CLI render loop.