Skip to main content

draw_small

Function draw_small 

Source
pub fn draw_small(
    data: &ChartData,
    rect: Rect,
    options: &ChartOptions<'_>,
    style: &ChartStyle<'_>,
) -> Plot
Expand description

Lays out a scatter chart or a sparkline just as crate::chart does, and says where each value landed: each one owns the strip from halfway to its neighbors.