Trait textplots::ColorPlot

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

Provides an interface for drawing colored plots.

Required Methods§

source

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

Draws a line chart of points connected by straight line segments using the specified color

Implementors§

source§

impl<'a> ColorPlot<'a> for Chart<'a>