pub struct Axis {
pub title: Option<String>,
pub bounds: Option<(f64, f64)>,
pub labels: Option<Vec<String>>,
pub style: Style,
}Expand description
Axis configuration.
Fields§
§title: Option<String>Optional axis title.
bounds: Option<(f64, f64)>Manual axis bounds (min, max). Uses auto-scaling when None.
labels: Option<Vec<String>>Optional manual tick labels.
style: StyleAxis text and tick style.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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