All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- TBD
- Initial release of bgraph
Graph,TimeSeries,DualGraph,DualTimeSeries,MultiGraph,MultiTimeSeriesMiniGraphandMiniTimeSeriessparklines (standard + high-resolution modes)Meter,VerticalGauge,BrailleVerticalGauge(braille gauge supports 4x/8x)DataSourcetrait andFnDataSourcewrapperColorGradientwith smooth RGB interpolation + precompute tableRenderMode,GradientMode,SplitDirection,LegendPosition- Height snapping helpers (
snap_height,snap_graph_area,snap_height_with_base,snap_graph_area_with_base) - Zero-line rendering and inverted Y-axis support
- btop-style demo panel showcasing dense layout and scrolling
- High Resolution: 5 vertical levels per terminal cell (0%, 25%, 50%, 75%, 100%)
- High-Res Modes: 8x vertical resolution for sparklines and braille gauges
- Smooth Transitions: btop-style Braille lookup table creates natural gradients
- Gradient Colors: Heat-map effects for value-based coloring (like btop's CPU graphs)
- Flexible Rendering: Block mode fallback for terminals without Unicode support
- Ratatui Integration: Drop-in widget for any ratatui application
x_range(start, end)- Set horizontal data windowy_range(min, max)- Set vertical scalestyle(Style)- Set graph color and modifiersgradient(ColorGradient)- Enable value-based coloringgradient_mode(GradientMode)- Value vs position coloringrender_mode(RenderMode)- Choose Braille or Block renderingwave_char(char)- Custom character for Block modeshow_zero_line(bool)- Toggle horizontal reference linezero_line_style(Style)- Style the zero-line
ratatui^0.29 - TUI framework
This library implements the Braille graphing technique pioneered by btop (Copyright © 2021 Jakob P. Liljenberg).