Expand description
§tui-bars
Provides additional bar widgets for the great tui-rs crate.
§Demo

use tui::{widgets::Block, layout::Direction};
use tui_bars::ValueBar;
let x = 1.234;
ValueBar::default()
.direction(Direction::Vertical)
.value(x)
.label(format!("{x:.2}"))
.range(5.)
.block(Block::default().title("My Value X"));Structs§
- Value
Bar - A symmetrical gauge for a value