#[no_mangle]
pub extern "C" fn ratatui_chart_dataset(
handle: *mut c_void,
name: *const c_char,
marker: u8,
r: u8,
g: u8,
b: u8,
data: *const f64,
point_count: u32,
)Expand description
Adds a Dataset to the pending chart.
§Parameters
name: dataset legend label.marker:0Dot,1Braille,2HalfBlock,3Block.r,g,b: dataset color.data: pointer topoint_count * 2f64values, interleaved as[x0, y0, x1, y1, …].point_count: number of(x, y)pairs.
Does nothing if no chart builder is active or data is null.