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.
Members
stroke
stroke: Option<ferroui_base::media::Color>
The stroke of the arc and the ticks (Stroke); None draws none.
stroke_width
stroke_width: f64
labels_color
labels_color: Option<ferroui_base::media::Color>
The paint of the labels (LabelsPaint); None draws none.
outer_offset
outer_offset: f64
What the diameter of the arc is short of the draw margin (OuterOffset).
labels_outer_offset
labels_outer_offset: f64
How far inside the draw margin the labels are (LabelsOuterOffset).
ticks_length
ticks_length: f64
The length of a tick (TicksLength); a sub-tick is half of it.
labels_size
labels_size: f64
labeler
labeler: Option<crate::labelers::Labeler>
The label of a tick (Labeler); None is the source's default,
Labelers::six_representative_digits.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.