pub enum GraphType {
Scatter,
Line,
Bar,
Area,
}Expand description
How a Dataset joins its points.
Variants§
Scatter
Points only (ratatui’s default).
Line
Points joined by straight lines; a point the axes cannot show (NaN, infinite, or not positive on a log axis) breaks the line.
Bar
A vertical line from zero (the bottom, on a log axis) to each point.
Area
Points joined by lines, as Line, with the area
between the lines and Dataset::fill_to filled in (ratatui’s
GraphType::Area, 0.30.1). A level the axis cannot show (not
positive on a log axis) fills to the bottom.
Trait Implementations§
impl Copy for GraphType
impl Eq for GraphType
impl StructuralPartialEq for GraphType
Auto Trait Implementations§
impl Freeze for GraphType
impl RefUnwindSafe for GraphType
impl Send for GraphType
impl Sync for GraphType
impl Unpin for GraphType
impl UnsafeUnpin for GraphType
impl UnwindSafe for GraphType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.