pub struct EuvChartAxis { /* private fields */ }Expand description
Axis scale, tick, split-line, and label configuration for Cartesian, Polar, and SingleAxis charts.
Implementations§
Source§impl EuvChartAxis
Constructors, fluent builders, and safe option accessors for EuvChartAxis.
impl EuvChartAxis
Constructors, fluent builders, and safe option accessors for EuvChartAxis.
Sourcepub fn time() -> Self
pub fn time() -> Self
Creates a continuous Time axis formatting numeric timestamps.
§Returns
Self- Time axis configuration.
Sourcepub fn unit_suffix<TextValue>(self, suffix: TextValue) -> Self
pub fn unit_suffix<TextValue>(self, suffix: TextValue) -> Self
Sourcepub fn split_number(self, count: usize) -> Self
pub fn split_number(self, count: usize) -> Self
Sourcepub fn show_split_line(self, show: bool) -> Self
pub fn show_split_line(self, show: bool) -> Self
Sourcepub fn show_split_area(self, show: bool) -> Self
pub fn show_split_area(self, show: bool) -> Self
Sourcepub fn grid_index(self, idx: usize) -> Self
pub fn grid_index(self, idx: usize) -> Self
Sourcepub fn position(self, pos: EuvChartPosition) -> Self
pub fn position(self, pos: EuvChartPosition) -> Self
Sourcepub fn position_opt(&self) -> Option<EuvChartPosition>
pub fn position_opt(&self) -> Option<EuvChartPosition>
Source§impl EuvChartAxis
impl EuvChartAxis
pub fn get_axis_type(&self) -> EuvChartAxisType
pub fn get_mut_axis_type(&mut self) -> &mut EuvChartAxisType
pub fn set_axis_type(&mut self, val: EuvChartAxisType) -> &mut Self
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_unit_suffix(&self) -> &String
pub fn get_mut_unit_suffix(&mut self) -> &mut String
pub fn set_unit_suffix(&mut self, val: String) -> &mut Self
pub fn get_categories(&self) -> &Vec<String>
pub fn get_mut_categories(&mut self) -> &mut Vec<String>
pub fn set_categories(&mut self, val: Vec<String>) -> &mut Self
pub fn get_grid_index(&self) -> usize
pub fn get_mut_grid_index(&mut self) -> &mut usize
pub fn set_grid_index(&mut self, val: usize) -> &mut Self
pub fn get_mut_min(&mut self) -> &mut Option<f32>
pub fn set_min(&mut self, val: Option<f32>) -> &mut Self
pub fn get_mut_max(&mut self) -> &mut Option<f32>
pub fn set_max(&mut self, val: Option<f32>) -> &mut Self
pub fn get_inverse(&self) -> bool
pub fn get_mut_inverse(&mut self) -> &mut bool
pub fn set_inverse(&mut self, val: bool) -> &mut Self
pub fn get_split_number(&self) -> usize
pub fn get_mut_split_number(&mut self) -> &mut usize
pub fn set_split_number(&mut self, val: usize) -> &mut Self
pub fn get_show_axis_line(&self) -> bool
pub fn get_mut_show_axis_line(&mut self) -> &mut bool
pub fn set_show_axis_line(&mut self, val: bool) -> &mut Self
pub fn get_show_axis_tick(&self) -> bool
pub fn get_mut_show_axis_tick(&mut self) -> &mut bool
pub fn set_show_axis_tick(&mut self, val: bool) -> &mut Self
pub fn get_show_axis_label(&self) -> bool
pub fn get_mut_show_axis_label(&mut self) -> &mut bool
pub fn set_show_axis_label(&mut self, val: bool) -> &mut Self
pub fn get_show_split_line(&self) -> bool
pub fn get_mut_show_split_line(&mut self) -> &mut bool
pub fn set_show_split_line(&mut self, val: bool) -> &mut Self
pub fn get_show_split_area(&self) -> bool
pub fn get_mut_show_split_area(&mut self) -> &mut bool
pub fn set_show_split_area(&mut self, val: bool) -> &mut Self
pub fn get_mut_position(&mut self) -> &mut Option<EuvChartPosition>
pub fn set_position(&mut self, val: Option<EuvChartPosition>) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvChartAxis
impl Clone for EuvChartAxis
Source§impl Debug for EuvChartAxis
impl Debug for EuvChartAxis
Source§impl Default for EuvChartAxis
Default continuous numeric value axis configuration.
impl Default for EuvChartAxis
Default continuous numeric value axis configuration.
Source§impl PartialEq for EuvChartAxis
impl PartialEq for EuvChartAxis
impl StructuralPartialEq for EuvChartAxis
Auto Trait Implementations§
impl Forget for EuvChartAxis
impl Freeze for EuvChartAxis
impl Move for EuvChartAxis
impl RefUnwindSafe for EuvChartAxis
impl Send for EuvChartAxiswhere
RawVecInner: Send,
impl Sync for EuvChartAxiswhere
RawVecInner: Sync,
impl Unpin for EuvChartAxis
impl UnsafeUnpin for EuvChartAxiswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for EuvChartAxiswhere
RawVecInner: UnwindSafe,
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