AxisTick
struct · ferroui-livecharts · v0.5.0
struct AxisTick
Members
value
value: f64
magnitude
magnitude: f64
cartesian
fn cartesian(control_size: Size, min: f64, max: f64, options: TickOptions) -> Self
Computes the source nice-number ladder (1, 2, 5, 10), including the density, rotated-label and minimum-separator adjustments.
polar
fn polar(control_size: Size, min: f64, max: f64, inner_radius: f64, total_angle: f64, is_angle: bool, min_separators: u32, force_step_to_min: bool) -> Self
nice
fn nice(range: f64, separations: f64, min_separators: u32, force_step_to_min: bool) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.