[][src]Struct plotters::prelude::AreaSeries

pub struct AreaSeries<DB: DrawingBackend, X: Clone, Y: Clone> { /* fields omitted */ }

An area series is similar to a line series but use a filled polygon

Methods

impl<DB: DrawingBackend, X: Clone, Y: Clone> AreaSeries<DB, X, Y>[src]

pub fn new<S: Into<ShapeStyle>, I: IntoIterator<Item = (X, Y)>>(
    iter: I,
    baseline: Y,
    area_style: S
) -> Self
[src]

pub fn border_style<S: Into<ShapeStyle>>(self, style: S) -> Self[src]

Trait Implementations

impl<DB: DrawingBackend, X: Clone + 'static, Y: Clone + 'static> Iterator for AreaSeries<DB, X, Y>[src]

type Item = DynElement<'static, DB, (X, Y)>

The type of the elements being iterated over.

Auto Trait Implementations

impl<DB, X, Y> Send for AreaSeries<DB, X, Y> where
    DB: Send,
    X: Send,
    Y: Send

impl<DB, X, Y> Unpin for AreaSeries<DB, X, Y> where
    DB: Unpin,
    X: Unpin,
    Y: Unpin

impl<DB, X, Y> Sync for AreaSeries<DB, X, Y> where
    DB: Sync,
    X: Sync,
    Y: Sync

impl<DB, X, Y> UnwindSafe for AreaSeries<DB, X, Y> where
    DB: UnwindSafe,
    X: UnwindSafe,
    Y: UnwindSafe

impl<DB, X, Y> RefUnwindSafe for AreaSeries<DB, X, Y> where
    DB: RefUnwindSafe,
    X: RefUnwindSafe,
    Y: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]