pub struct Axis {
pub side: Side,
pub label: String,
pub color: String,
pub mode: AxisMode,
pub linked_group: String,
pub traces: Vec<usize>,
pub range: Option<[f64; 2]>,
}Expand description
One y axis.
Fields§
§side: SideWhich side.
label: StringTitle.
color: StringAxis, tick and label color, #rrggbb.
mode: AxisModeHow the range is chosen.
linked_group: StringThe axis group when linked.
traces: Vec<usize>Indices into Spec::traces.
range: Option<[f64; 2]>The range per mode; none for an auto axis without finite data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Axis
impl<'de> Deserialize<'de> for Axis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Axis
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