Function ratatui_barchart

Source
#[no_mangle]
pub extern "C" fn ratatui_barchart(
    handle: *mut c_void,
    area_id: u32,
    data: *const c_char,
    bar_width: u16,
    bar_gap: u16,
)
Expand description

Queues a BarChart.

data format: one bar per line, label and value separated by a tab. Malformed lines (missing tab or non-numeric value) are silently skipped.

ยงParameters

  • bar_width: width of each bar in cells.
  • bar_gap: gap between bars in cells.