pub struct Axis { /* private fields */ }
Implementations§
Source§impl Axis
impl Axis
pub fn new() -> Axis
pub fn visible(self, visible: bool) -> Axis
pub fn color<C: Color>(self, color: C) -> Axis
pub fn title(self, title: Title) -> Axis
pub fn type_(self, t: AxisType) -> Axis
pub fn auto_range(self, auto_range: bool) -> Axis
pub fn range_mode(self, range_mode: RangeMode) -> Axis
pub fn range<C: NumOrString>(self, range: Vec<C>) -> Axis
pub fn fixed_range(self, fixed_range: bool) -> Axis
pub fn constrain(self, constrain: AxisConstrain) -> Axis
pub fn constrain_toward(self, constrain_toward: ConstrainDirection) -> Axis
pub fn tick_mode(self, tick_mode: TickMode) -> Axis
pub fn n_ticks(self, n_ticks: usize) -> Axis
pub fn tick0(self, tick0: f64) -> Axis
pub fn dtick(self, dtick: f64) -> Axis
pub fn tick_values(self, tick_values: Vec<f64>) -> Axis
pub fn tick_text(self, tick_text: Vec<String>) -> Axis
pub fn ticks(self, ticks: TicksDirection) -> Axis
pub fn ticks_on(self, ticks_on: TicksPosition) -> Axis
pub fn mirror(self, mirror: bool) -> Axis
pub fn tick_length(self, tick_length: usize) -> Axis
pub fn tick_width(self, tick_width: usize) -> Axis
pub fn tick_color<C: Color>(self, tick_color: C) -> Axis
pub fn show_tick_labels(self, show_tick_labels: bool) -> Axis
pub fn auto_margin(self, auto_margin: bool) -> Axis
pub fn show_spikes(self, show_spikes: bool) -> Axis
pub fn spike_color<C: Color>(self, spike_color: C) -> Axis
pub fn spike_thickness(self, spike_thickness: usize) -> Axis
pub fn spike_dash(self, spike_dash: DashType) -> Axis
pub fn spike_mode(self, spike_mode: &str) -> Axis
pub fn spike_snap(self, spike_snap: &str) -> Axis
pub fn tick_font(self, tick_font: Font) -> Axis
pub fn tick_angle(self, tick_angle: f64) -> Axis
pub fn tick_prefix(self, tick_prefix: &str) -> Axis
pub fn show_tick_prefix(self, show_tick_prefix: ArrayShow) -> Axis
pub fn tick_suffix(self, tick_suffix: &str) -> Axis
pub fn show_tick_suffix(self, show_tick_suffix: ArrayShow) -> Axis
pub fn show_exponent(self, show_exponent: ArrayShow) -> Axis
pub fn exponent_format(self, exponent_format: &str) -> Axis
pub fn separate_thousands(self, separate_thousands: bool) -> Axis
pub fn tick_format(self, tick_format: &str) -> Axis
pub fn tick_format_stops(self, tick_format_stops: Vec<TickFormatStop>) -> Axis
pub fn hover_format(self, hover_format: &str) -> Axis
pub fn show_line(self, show_line: bool) -> Axis
pub fn line_color<C: Color>(self, line_color: C) -> Axis
pub fn line_width(self, line_width: usize) -> Axis
pub fn show_grid(self, show_grid: bool) -> Axis
pub fn grid_color<C: Color>(self, grid_color: C) -> Axis
pub fn grid_width(self, grid_width: usize) -> Axis
pub fn zero_line(self, zero_line: bool) -> Axis
pub fn zero_line_color<C: Color>(self, zero_line_color: C) -> Axis
pub fn zero_line_width(self, zero_line_width: usize) -> Axis
pub fn show_dividers(self, show_dividers: bool) -> Axis
pub fn divider_color<C: Color>(self, divider_color: C) -> Axis
pub fn divider_width(self, divider_width: usize) -> Axis
pub fn anchor(self, anchor: &str) -> Axis
pub fn side(self, side: Side) -> Axis
pub fn overlaying(self, overlaying: &str) -> Axis
pub fn domain(self, domain: &[f64]) -> Axis
pub fn position(self, position: f64) -> Axis
pub fn range_slider(self, slider: RangeSlider) -> Axis
pub fn range_selector(self, range_selector: RangeSelector) -> Axis
pub fn calendar(self, calendar: Calendar) -> Axis
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 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