Axis
struct · ferroui-controls-charts · v0.5.0
struct Axis
Shared identity and presentation properties of a chart axis.
Members
TYPEto_refis_visible_propertylabel_propertyconstructnewis_visibleset_is_visiblelabelset_labelset_optional_label
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<Axis>
Returns a strong reference to this object.
is_visible_property
fn is_visible_property() -> &'static StyledProperty<bool>
label_property
fn label_property() -> &'static StyledProperty<String>
construct
fn construct() -> Self
Creates the fields of an axis, for use by deriving classes.
new
fn new() -> Ref<Self>
is_visible
fn is_visible(self: &Self) -> bool
set_is_visible
fn set_is_visible(self: &Self, value: bool)
label
fn label(self: &Self) -> String
set_label
fn set_label(self: &Self, value: impl Into<String>)
set_optional_label
fn set_optional_label(self: &Self, value: Option<&str>)
The nullable source API normalizes a null label to an empty string.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<Axis>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.