Function libnotcurses_sys::ncuplot_add_sample[][src]

pub unsafe extern "C" fn ncuplot_add_sample(
    n: *mut ncuplot,
    x: u64,
    y: u64
) -> c_int
Expand description

Add to or set the value corresponding to this x. If x is beyond the current x window, the x window is advanced to include x, and values passing beyond the window are lost. The first call will place the initial window. The plot will be redrawn, but notcurses_render() is not called.