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
Trait Implementations§
Source§impl Clone for SeriesLabelPosition
impl Clone for SeriesLabelPosition
Source§fn clone(&self) -> SeriesLabelPosition
fn clone(&self) -> SeriesLabelPosition
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SeriesLabelPosition
impl Debug for SeriesLabelPosition
Source§impl PartialEq for SeriesLabelPosition
impl PartialEq for SeriesLabelPosition
impl StructuralPartialEq for SeriesLabelPosition
Auto Trait Implementations§
impl Freeze for SeriesLabelPosition
impl RefUnwindSafe for SeriesLabelPosition
impl Send for SeriesLabelPosition
impl Sync for SeriesLabelPosition
impl Unpin for SeriesLabelPosition
impl UnwindSafe for SeriesLabelPosition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more