Trait textplots::Plot

source ·
pub trait Plot<'a> {
    // Required method
    fn lineplot(&'a mut self, shape: &'a Shape<'_>) -> &'a mut Chart<'_>;
}
Expand description

Provides an interface for drawing plots.

Required Methods§

source

fn lineplot(&'a mut self, shape: &'a Shape<'_>) -> &'a mut Chart<'_>

Draws a line chart of points connected by straight line segments.

Implementors§

source§

impl<'a> Plot<'a> for Chart<'a>