Enum plotters::chart::SeriesLabelPosition
source · [−]pub enum SeriesLabelPosition {
UpperLeft,
MiddleLeft,
LowerLeft,
UpperMiddle,
MiddleMiddle,
LowerMiddle,
UpperRight,
MiddleRight,
LowerRight,
Coordinate(i32, i32),
}
Expand description
Useful to specify the position of the series label.
See ChartContext::configure_series_labels()
for more information and examples.
Variants
UpperLeft
Places the series label at the upper left
MiddleLeft
Places the series label at the middle left
LowerLeft
Places the series label at the lower left
UpperMiddle
Places the series label at the upper middle
MiddleMiddle
Places the series label at the middle middle
LowerMiddle
Places the series label at the lower middle
UpperRight
Places the series label at the upper right
MiddleRight
Places the series label at the middle right
LowerRight
Places the series label at the lower right
Coordinate(i32, i32)
Places the series label at the specific location in backend coordinates
Auto Trait Implementations
impl RefUnwindSafe for SeriesLabelPosition
impl Send for SeriesLabelPosition
impl Sync for SeriesLabelPosition
impl Unpin for SeriesLabelPosition
impl UnwindSafe for SeriesLabelPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more