| Crates.io | tui-bars |
| lib.rs | tui-bars |
| version | 0.1.0 |
| created_at | 2023-08-02 13:59:02.538841+00 |
| updated_at | 2023-08-02 13:59:02.538841+00 |
| description | Bar widgets for tui-rs |
| homepage | |
| repository | https://github.com/gollth/tui-bars |
| max_upload_size | |
| id | 932747 |
| size | 43,876 |
Provides additional bar widgets for the great tui-rs crate.

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"));