FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AngularTicks

    struct · ferroui-livecharts · v0.5.0

    struct AngularTicks
    

    The ticks of an angular gauge (AngularTicksVisual): an arc over the range of the chart, a tick and a label at each step of ten nice separations of the range, and four sub-ticks between two ticks.

    View source

    Members

    stroke

    stroke: Option<ferroui_base::media::Color>
    

    The stroke of the arc and the ticks (Stroke); None draws none.

    Source

    stroke_width

    stroke_width: f64
    

    Source

    labels_color

    labels_color: Option<ferroui_base::media::Color>
    

    The paint of the labels (LabelsPaint); None draws none.

    Source

    outer_offset

    outer_offset: f64
    

    What the diameter of the arc is short of the draw margin (OuterOffset).

    Source

    labels_outer_offset

    labels_outer_offset: f64
    

    How far inside the draw margin the labels are (LabelsOuterOffset).

    Source

    ticks_length

    ticks_length: f64
    

    The length of a tick (TicksLength); a sub-tick is half of it.

    Source

    labels_size

    labels_size: f64
    

    Source

    labeler

    labeler: Option<crate::labelers::Labeler>
    

    The label of a tick (Labeler); None is the source's default, Labelers::six_representative_digits.

    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
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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