[−][src]Struct plotters::ChartContext
The context of the chart
Fields
x_label_area: Option<DrawingArea<DB, Shift>>y_label_area: Option<DrawingArea<DB, Shift>>drawing_area: DrawingArea<DB, CT>Methods
impl<DB: DrawingBackend, XT: Debug, YT: Debug, X: Ranged<ValueType = XT>, Y: Ranged<ValueType = YT>> ChartContext<DB, RangedCoord<X, Y>>[src]
pub fn configure_mesh(&mut self) -> MeshStyle<X, Y, DB>[src]
impl<DB: DrawingBackend, X: Ranged, Y: Ranged> ChartContext<DB, RangedCoord<X, Y>>[src]
pub fn x_range(&self) -> Range<X::ValueType>[src]
Get the range of X axis
pub fn y_range(&self) -> Range<Y::ValueType>[src]
Get range of the Y axis
pub fn draw_series<E, R, S>(
&self,
series: S
) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> where
&'a E: PointCollection<'a, (X::ValueType, Y::ValueType)>,
E: Drawable,
R: Borrow<E>,
S: IntoIterator<Item = R>, [src]
&self,
series: S
) -> Result<(), DrawingAreaErrorKind<DB::ErrorType>> where
&'a E: PointCollection<'a, (X::ValueType, Y::ValueType)>,
E: Drawable,
R: Borrow<E>,
S: IntoIterator<Item = R>,
Draw a series
Auto Trait Implementations
impl<DB, CT> !Send for ChartContext<DB, CT>
impl<DB, CT> !Sync for ChartContext<DB, CT>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value as a parameter of self.