pub struct EuvChartAxisScale { /* private fields */ }Expand description
Resolved numeric, category, time, or logarithmic axis scale ready for pixel projection.
Implementations§
Source§impl EuvChartAxisScale
Projection and inverse-mapping methods for EuvChartAxisScale.
impl EuvChartAxisScale
Projection and inverse-mapping methods for EuvChartAxisScale.
Sourcepub fn baseline_y(&self, plot_rect: Rect) -> f32
pub fn baseline_y(&self, plot_rect: Rect) -> f32
Sourcepub fn baseline_x(&self, plot_rect: Rect) -> f32
pub fn baseline_x(&self, plot_rect: Rect) -> f32
Sourcepub fn visible_slot_count(&self) -> f32
pub fn visible_slot_count(&self) -> f32
Sourcepub fn category_label_at(&self, global_idx: usize) -> Option<&str>
pub fn category_label_at(&self, global_idx: usize) -> Option<&str>
Source§impl EuvChartAxisScale
impl EuvChartAxisScale
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_min(&self) -> f32
pub fn get_mut_min(&mut self) -> &mut f32
pub fn set_min(&mut self, val: f32) -> &mut Self
pub fn get_max(&self) -> f32
pub fn get_mut_max(&mut self) -> &mut f32
pub fn set_max(&mut self, val: 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_ticks(&self) -> &Vec<f32>
pub fn get_mut_ticks(&mut self) -> &mut Vec<f32>
pub fn set_ticks(&mut self, val: Vec<f32>) -> &mut Self
pub fn get_labels(&self) -> &Vec<String>
pub fn get_mut_labels(&mut self) -> &mut Vec<String>
pub fn set_labels(&mut self, val: Vec<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_window_start(&self) -> f32
pub fn get_mut_window_start(&mut self) -> &mut f32
pub fn set_window_start(&mut self, val: f32) -> &mut Self
pub fn get_window_span(&self) -> f32
pub fn get_mut_window_span(&mut self) -> &mut f32
pub fn set_window_span(&mut self, val: f32) -> &mut Self
pub fn get_category_base_index(&self) -> usize
pub fn get_mut_category_base_index(&mut self) -> &mut usize
pub fn set_category_base_index(&mut self, val: usize) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvChartAxisScale
impl Clone for EuvChartAxisScale
Source§impl Debug for EuvChartAxisScale
impl Debug for EuvChartAxisScale
Source§impl PartialEq for EuvChartAxisScale
impl PartialEq for EuvChartAxisScale
impl StructuralPartialEq for EuvChartAxisScale
Auto Trait Implementations§
impl Forget for EuvChartAxisScale
impl Freeze for EuvChartAxisScale
impl Move for EuvChartAxisScale
impl RefUnwindSafe for EuvChartAxisScale
impl Send for EuvChartAxisScalewhere
RawVecInner: Send,
impl Sync for EuvChartAxisScalewhere
RawVecInner: Sync,
impl Unpin for EuvChartAxisScale
impl UnsafeUnpin for EuvChartAxisScalewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f32>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for EuvChartAxisScalewhere
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