MCPcopy Create free account

hub / github.com/5ocworkshop/bgraph / functions

Functions322 in github.com/5ocworkshop/bgraph

↓ 1 callersMethodset_y_range
Set the Y-axis range.
src/classes/cls_mini_time_series_state.rs:87
↓ 1 callersMethodshared_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 callersMethodshow_legend
Enable/disable legend display
src/classes/cls_multi_time_series.rs:92
↓ 1 callersMethodshow_percentage
Show percentage label at the end (e.g., "75%").
src/classes/cls_meter.rs:100
↓ 1 callersMethodshow_zero_line
Enable zero-line display
src/classes/cls_time_series.rs:93
↓ 1 callersFunctionshrink_bottom
(area: Rect, lines: u16)
examples/demo/layout.rs:34
↓ 1 callersFunctionsnap_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 callersFunctionsnap_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 callersMethodsplit_direction
Set split direction (horizontal or vertical) - `Horizontal`: left | right (default) - `Vertical`: top / bottom
src/classes/cls_dual_time_series.rs:96
↓ 1 callersMethodsplit_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 callersMethodstyle
Set the graph style
src/classes/cls_time_series.rs:66
↓ 1 callersMethodswap_free_pct
(&self)
examples/demo/cls_simulation.rs:80
↓ 1 callersMethodswap_pct
(&self)
examples/demo/cls_simulation.rs:77
↓ 1 callersMethodupdate
Advance simulation by one tick (non-btop panels).
examples/demo/cls_simulation.rs:151
↓ 1 callersMethodupdate_btop
(&mut self)
examples/demo/cls_simulation.rs:223
↓ 1 callersMethodupdate_btop_panel
Advance btop simulation (call at 300ms intervals).
examples/demo/cls_simulation.rs:159
↓ 1 callersMethodupdate_cpu
(&mut self)
examples/demo/cls_simulation.rs:163
↓ 1 callersMethodupdate_memory
(&mut self)
examples/demo/cls_simulation.rs:209
↓ 1 callersMethodupdate_network
(&mut self)
examples/demo/cls_simulation.rs:179
↓ 1 callersMethodused_pct
(&self)
examples/demo/cls_simulation.rs:25
↓ 1 callersMethodvalue_to_level
Map a value to a vertical level (0-4) for Braille rendering
src/classes/cls_graph.rs:161
↓ 1 callersMethodvalue_to_y
Map a value to a Y coordinate within the area (Block mode)
src/classes/cls_graph.rs:141
↓ 1 callersMethodx_range
Set X-axis range
src/classes/cls_multi_graph.rs:73
↓ 1 callersMethodx_to_value
Map an X coordinate to a value in x_range
src/classes/cls_graph.rs:153
↓ 1 callersMethody_range
Set Y-axis range (shared by all series)
src/classes/cls_multi_graph.rs:79
↓ 1 callersMethodzero_line_style
Set zero-line style
src/classes/cls_time_series.rs:99
Methodbackground_style
Set the background style for unfilled portion.
src/classes/cls_braille_vertical_gauge.rs:92
Methodbackground_style
Set the background style for unfilled portion.
src/classes/cls_vertical_gauge.rs:74
Methodcapacity
Get the buffer capacity.
src/classes/cls_mini_time_series_state.rs:77
Methodclear
Clear both buffers
src/classes/cls_dual_time_series_state.rs:52
Methodclear
Clear all series
src/classes/cls_multi_time_series_state.rs:86
Methoddefault
()
src/classes/cls_color_gradient.rs:148
Methoddefault
()
src/classes/cls_dual_time_series_state.rs:64
Methoddefault
()
src/classes/cls_mini_time_series.rs:60
Methoddefault
()
src/classes/cls_multi_graph.rs:46
Methoddefault
()
src/classes/cls_multi_time_series.rs:46
Methoddefault
()
src/classes/cls_time_series.rs:47
Methoddefault
()
src/classes/cls_dual_time_series.rs:52
Methoddefault
()
src/classes/cls_multi_time_series_state.rs:132
Methoddefault
()
src/classes/cls_time_series_state.rs:185
Methoddefault
()
examples/demo/gradients.rs:134
Methodfilled_char
Set the character used for the gauge (default: '█').
src/classes/cls_vertical_gauge.rs:80
Methodgradient
Set the color gradient (applied per-cell by position).
src/classes/cls_braille_vertical_gauge.rs:80
Methodgradient
Set the color gradient for per-character coloring.
src/classes/cls_mini_graph.rs:73
Methodgradient
Set the color gradient for per-character coloring.
src/classes/cls_mini_time_series.rs:77
Methodgradient
Set the color gradient (applied per-row by position).
src/classes/cls_vertical_gauge.rs:62
Methodgradient
Set a color gradient for value-based coloring
src/classes/cls_graph.rs:114
Methodgradient
Set the series gradient for value-based coloring
src/classes/cls_series.rs:50
Methodhigh_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
Methodhigh_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
Methodidle_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
Methodis_empty
Check if both buffers are empty
src/classes/cls_dual_time_series_state.rs:58
Methodis_empty
Check if the buffer is empty.
src/classes/cls_mini_time_series_state.rs:72
Methodlabels
Get all labels
src/classes/cls_multi_time_series_state.rs:65
Functionmain
()
examples/simple.rs:33
Functionmain
()
examples/demo/main.rs:49
Methodnew
Create a new braille vertical gauge with the given percentage (0-100).
src/classes/cls_braille_vertical_gauge.rs:60
Methodnew
Create a new mini-graph from a data slice.
src/classes/cls_mini_graph.rs:56
Methodnew
Create a new function-based data source
src/classes/cls_fn_data_source.rs:34
Methodnew
Create a new color gradient
src/classes/cls_color_gradient.rs:36
Methodnew
Create dual state with same capacity for both
src/classes/cls_dual_time_series_state.rs:30
Methodnew
Create a new MiniTimeSeries widget.
src/classes/cls_mini_time_series.rs:72
Methodnew
Create a new dual graph with two data sources
src/classes/cls_dual_graph.rs:58
Methodnew
Create a new vertical gauge with the given percentage (0-100).
src/classes/cls_vertical_gauge.rs:51
Methodnew
Create a new multi-series graph
src/classes/cls_multi_graph.rs:53
Methodnew
Create a new multi-series widget with default color palette
src/classes/cls_multi_time_series.rs:53
Methodnew
Create a new time-series widget
src/classes/cls_time_series.rs:54
Methodnew
Create a new meter with the given percentage value (0-100).
src/classes/cls_meter.rs:53
Methodnew
Create a new state with the given capacity and default Y range (0-100).
src/classes/cls_mini_time_series_state.rs:38
Methodnew
Create a new graph with the given data source
src/classes/cls_graph.rs:55
Methodnew
Create a new dual time-series widget
src/classes/cls_dual_time_series.rs:59
Methodnew
Create a new series with a data source
src/classes/cls_series.rs:34
Methodnew
Create with specified number of series and capacity
src/classes/cls_multi_time_series_state.rs:33
Methodnew
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
Methodnew
Create all demo gradients.
examples/demo/gradients.rs:35
Methodnew
Create a new simulation with the given buffer capacity.
examples/demo/cls_simulation.rs:87
Methodpush
Push values to both buffers simultaneously
src/classes/cls_dual_time_series_state.rs:46
Methodpush
Push a new value. If at capacity, the oldest value is dropped.
src/classes/cls_mini_time_series_state.rs:56
Methodpush_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
Methodpush_many
Push multiple values at once
src/classes/cls_time_series_state.rs:86
Functionrender
Render the gradient mode comparison panel.
examples/demo/panels/fnc_render_compare.rs:24
Functionrender
Render the network horizontal split panel.
examples/demo/panels/fnc_render_net_horizontal.rs:21
Functionrender
Render the network mirrored panel.
examples/demo/panels/fnc_render_net_mirrored.rs:20
Functionrender
Render the CPU stacked panel.
examples/demo/panels/fnc_render_cpu_stacked.rs:21
Functionrender
Render the CPU overlaid panel.
examples/demo/panels/fnc_render_cpu_overlaid.rs:21
Functionrender
Render the network vertical split panel.
examples/demo/panels/fnc_render_net_vertical.rs:21
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_braille_vertical_gauge.rs:99
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_mini_graph.rs:106
Methodrender
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_mini_time_series.rs:121
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_dual_graph.rs:157
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_vertical_gauge.rs:87
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_multi_graph.rs:153
Methodrender
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_multi_time_series.rs:107
Methodrender
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_time_series.rs:108
Methodrender
(self, area: Rect, buf: &mut Buffer)
src/classes/cls_graph.rs:205
Methodrender
(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)
src/classes/cls_dual_time_series.rs:129
Methodsample
(&self, x: f32)
src/classes/cls_time_series_state.rs:179
Methodsample
(&self, _x: f32)
tests/classes/test_cls_dual_graph.rs:14
Methodsample
(&self, _x: f32)
tests/classes/test_cls_multi_graph.rs:14
Methodsample
(&self, _x: f32)
tests/functions/test_fnc_get_braille_symbols.rs:19
← previousnext →101–200 of 322, ranked by callers