FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AxisTick

    struct · ferroui-livecharts · v0.5.0

    struct AxisTick
    

    View source

    Members

    value

    value: f64
    

    Source

    magnitude

    magnitude: f64
    

    Source

    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.

    Source

    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
    

    Source

    nice

    fn nice(range: f64, separations: f64, min_separators: u32, force_step_to_min: bool) -> Self
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.