Skip to main content

chart

Function chart 

Source
pub fn chart(
    candles: &[Candle],
    rows: usize,
    painter: Painter,
    time: impl Fn(u64) -> String,
) -> Vec<String>
Expand description

The chart of candles (oldest first) in rows rows, one column per candle, each line starting with the price axis. time formats a candle’s open time (ms) for the time axis.