Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5ocworkshop/bgraph
/ functions
Functions
322 in github.com/5ocworkshop/bgraph
⨍
Functions
322
◇
Types & classes
33
↓ 1 callers
Method
set_y_range
Set the Y-axis range.
src/classes/cls_mini_time_series_state.rs:87
↓ 1 callers
Method
shared_y_range
Calculate shared Y-range across all series Returns the min/max across all series data for consistent scaling.
src/classes/cls_multi_time_series_state.rs:105
↓ 1 callers
Method
show_legend
Enable/disable legend display
src/classes/cls_multi_time_series.rs:92
↓ 1 callers
Method
show_percentage
Show percentage label at the end (e.g., "75%").
src/classes/cls_meter.rs:100
↓ 1 callers
Method
show_zero_line
Enable zero-line display
src/classes/cls_time_series.rs:93
↓ 1 callers
Function
shrink_bottom
(area: Rect, lines: u16)
examples/demo/layout.rs:34
↓ 1 callers
Function
snap_graph_area_with_base
Adjusts a Rect with custom base divisor, centering vertically. # Arguments `area` - The original layout area `base` - Preferred height divisor # Ret
src/functions/fnc_snap_height.rs:120
↓ 1 callers
Function
snap_height_with_base
Snap with a custom base divisor for non-percentage ranges. Use this when your data range isn't 0-100% and you want divisions that align with your spe
src/functions/fnc_snap_height.rs:72
↓ 1 callers
Method
split_direction
Set split direction (horizontal or vertical) - `Horizontal`: left | right (default) - `Vertical`: top / bottom
src/classes/cls_dual_time_series.rs:96
↓ 1 callers
Method
split_ratio
Set split ratio (clamped to 0.1-0.9, default 0.5) For horizontal: controls width ratio. For vertical: controls height ratio.
src/classes/cls_dual_time_series.rs:87
↓ 1 callers
Method
style
Set the graph style
src/classes/cls_time_series.rs:66
↓ 1 callers
Method
swap_free_pct
(&self)
examples/demo/cls_simulation.rs:80
↓ 1 callers
Method
swap_pct
(&self)
examples/demo/cls_simulation.rs:77
↓ 1 callers
Method
update
Advance simulation by one tick (non-btop panels).
examples/demo/cls_simulation.rs:151
↓ 1 callers
Method
update_btop
(&mut self)
examples/demo/cls_simulation.rs:223
↓ 1 callers
Method
update_btop_panel
Advance btop simulation (call at 300ms intervals).
examples/demo/cls_simulation.rs:159
↓ 1 callers
Method
update_cpu
(&mut self)
examples/demo/cls_simulation.rs:163
↓ 1 callers
Method
update_memory
(&mut self)
examples/demo/cls_simulation.rs:209
↓ 1 callers
Method
update_network
(&mut self)
examples/demo/cls_simulation.rs:179
↓ 1 callers
Method
used_pct
(&self)
examples/demo/cls_simulation.rs:25
↓ 1 callers
Method
value_to_level
Map a value to a vertical level (0-4) for Braille rendering
src/classes/cls_graph.rs:161
↓ 1 callers
Method
value_to_y
Map a value to a Y coordinate within the area (Block mode)
src/classes/cls_graph.rs:141
↓ 1 callers
Method
x_range
Set X-axis range
src/classes/cls_multi_graph.rs:73
↓ 1 callers
Method
x_to_value
Map an X coordinate to a value in x_range
src/classes/cls_graph.rs:153
↓ 1 callers
Method
y_range
Set Y-axis range (shared by all series)
src/classes/cls_multi_graph.rs:79
↓ 1 callers
Method
zero_line_style
Set zero-line style
src/classes/cls_time_series.rs:99
Method
background_style
Set the background style for unfilled portion.
src/classes/cls_braille_vertical_gauge.rs:92
Method
background_style
Set the background style for unfilled portion.
src/classes/cls_vertical_gauge.rs:74
Method
capacity
Get the buffer capacity.
src/classes/cls_mini_time_series_state.rs:77
Method
clear
Clear both buffers
src/classes/cls_dual_time_series_state.rs:52
Method
clear
Clear all series
src/classes/cls_multi_time_series_state.rs:86
Method
default
()
src/classes/cls_color_gradient.rs:148
Method
default
()
src/classes/cls_dual_time_series_state.rs:64
Method
default
()
src/classes/cls_mini_time_series.rs:60
Method
default
()
src/classes/cls_multi_graph.rs:46
Method
default
()
src/classes/cls_multi_time_series.rs:46
Method
default
()
src/classes/cls_time_series.rs:47
Method
default
()
src/classes/cls_dual_time_series.rs:52
Method
default
()
src/classes/cls_multi_time_series_state.rs:132
Method
default
()
src/classes/cls_time_series_state.rs:185
Method
default
()
examples/demo/gradients.rs:134
Method
filled_char
Set the character used for the gauge (default: '█').
src/classes/cls_vertical_gauge.rs:80
Method
gradient
Set the color gradient (applied per-cell by position).
src/classes/cls_braille_vertical_gauge.rs:80
Method
gradient
Set the color gradient for per-character coloring.
src/classes/cls_mini_graph.rs:73
Method
gradient
Set the color gradient for per-character coloring.
src/classes/cls_mini_time_series.rs:77
Method
gradient
Set the color gradient (applied per-row by position).
src/classes/cls_vertical_gauge.rs:62
Method
gradient
Set a color gradient for value-based coloring
src/classes/cls_graph.rs:114
Method
gradient
Set the series gradient for value-based coloring
src/classes/cls_series.rs:50
Method
high_resolution
Enable high-resolution mode (8x instead of 4x). In high-res mode, half-steps use right-column-only patterns, giving 8 sub-levels per cell instead of
src/classes/cls_braille_vertical_gauge.rs:74
Method
high_resolution
Enable high-resolution mode (8 levels, 1 value per char). In high-res mode, each character shows a single value with 8-level precision and consistent
src/classes/cls_mini_time_series.rs:92
Method
idle_style
Set the style for idle/zero values (ghosted bottom dots). When a value is zero or very low, btop-style ghosted dots are shown using this style. Defau
src/classes/cls_mini_time_series.rs:101
Method
is_empty
Check if both buffers are empty
src/classes/cls_dual_time_series_state.rs:58
Method
is_empty
Check if the buffer is empty.
src/classes/cls_mini_time_series_state.rs:72
Method
labels
Get all labels
src/classes/cls_multi_time_series_state.rs:65
Function
main
()
examples/simple.rs:33
Function
main
()
examples/demo/main.rs:49
Method
new
Create a new braille vertical gauge with the given percentage (0-100).
src/classes/cls_braille_vertical_gauge.rs:60
Method
new
Create a new mini-graph from a data slice.
src/classes/cls_mini_graph.rs:56
Method
new
Create a new function-based data source
src/classes/cls_fn_data_source.rs:34
Method
new
Create a new color gradient
src/classes/cls_color_gradient.rs:36
Method
new
Create dual state with same capacity for both
src/classes/cls_dual_time_series_state.rs:30
Method
new
Create a new MiniTimeSeries widget.
src/classes/cls_mini_time_series.rs:72
Method
new
Create a new dual graph with two data sources
src/classes/cls_dual_graph.rs:58
Method
new
Create a new vertical gauge with the given percentage (0-100).
src/classes/cls_vertical_gauge.rs:51
Method
new
Create a new multi-series graph
src/classes/cls_multi_graph.rs:53
Method
new
Create a new multi-series widget with default color palette
src/classes/cls_multi_time_series.rs:53
Method
new
Create a new time-series widget
src/classes/cls_time_series.rs:54
Method
new
Create a new meter with the given percentage value (0-100).
src/classes/cls_meter.rs:53
Method
new
Create a new state with the given capacity and default Y range (0-100).
src/classes/cls_mini_time_series_state.rs:38
Method
new
Create a new graph with the given data source
src/classes/cls_graph.rs:55
Method
new
Create a new dual time-series widget
src/classes/cls_dual_time_series.rs:59
Method
new
Create a new series with a data source
src/classes/cls_series.rs:34
Method
new
Create with specified number of series and capacity
src/classes/cls_multi_time_series_state.rs:33
Method
new
Create a new time-series state with given capacity # Example ```rust use bgraph::TimeSeriesState; let state = TimeSeriesState::new(100); // Store 100
src/classes/cls_time_series_state.rs:42
Method
new
Create all demo gradients.
examples/demo/gradients.rs:35
Method
new
Create a new simulation with the given buffer capacity.
examples/demo/cls_simulation.rs:87
Method
push
Push values to both buffers simultaneously
src/classes/cls_dual_time_series_state.rs:46
Method
push
Push a new value. If at capacity, the oldest value is dropped.
src/classes/cls_mini_time_series_state.rs:56
Method
push_all
Push values to all series at once If fewer values than series are provided, remaining series are unchanged.
src/classes/cls_multi_time_series_state.rs:79
Method
push_many
Push multiple values at once
src/classes/cls_time_series_state.rs:86
Function
render
Render the gradient mode comparison panel.
examples/demo/panels/fnc_render_compare.rs:24
Function
render
Render the network horizontal split panel.
examples/demo/panels/fnc_render_net_horizontal.rs:21
Function
render
Render the network mirrored panel.
examples/demo/panels/fnc_render_net_mirrored.rs:20
Function
render
Render the CPU stacked panel.
examples/demo/panels/fnc_render_cpu_stacked.rs:21
Function
render
Render the CPU overlaid panel.
examples/demo/panels/fnc_render_cpu_overlaid.rs:21
Function
render
Render the network vertical split panel.
examples/demo/panels/fnc_render_net_vertical.rs:21
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_braille_vertical_gauge.rs:99
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_mini_graph.rs:106
Method
render
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_mini_time_series.rs:121
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_dual_graph.rs:157
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_vertical_gauge.rs:87
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_multi_graph.rs:153
Method
render
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_multi_time_series.rs:107
Method
render
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_time_series.rs:108
Method
render
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_graph.rs:205
Method
render
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_dual_time_series.rs:129
Method
sample
(&self, x: f32)
src/classes/cls_time_series_state.rs:179
Method
sample
(&self, _x: f32)
tests/classes/test_cls_dual_graph.rs:14
Method
sample
(&self, _x: f32)
tests/classes/test_cls_multi_graph.rs:14
Method
sample
(&self, _x: f32)
tests/functions/test_fnc_get_braille_symbols.rs:19
← previous
next →
101–200 of 322, ranked by callers