Axis
struct · ferroui-controls-livecharts · v0.5.0
struct Axis
Members
TYPEto_refconstructnewsnapshotname_propertylabels_propertymin_limit_propertymax_limit_propertymin_step_propertyforce_step_propertyunit_width_propertyinverted_propertyvisible_propertyshow_separator_lines_propertyposition_propertytext_size_propertylabels_rotation_propertylabels_color_propertyseparators_color_propertylogarithmic_base_propertypadding_propertymin_separators_propertylabels_angle_propertycustom_separators_propertylabels_padding_propertylabels_density_propertylabeler_propertylabels_background_propertynameset_namelabelsset_labelsmin_limitset_min_limitmax_limitset_max_limitmin_stepset_min_stepforce_stepset_force_stepunit_widthset_unit_widthinvertedset_invertedvisibleset_visibleshow_separator_linesset_show_separator_linespositionset_positiontext_sizeset_text_sizelabels_rotationset_labels_rotationlabels_colorset_labels_colorseparators_colorset_separators_colorlogarithmic_baseset_logarithmic_basepaddingset_paddingmin_separatorsset_min_separatorslabels_angleset_labels_anglecustom_separatorsset_custom_separatorslabels_paddingset_labels_paddinglabels_densityset_labels_densitylabelerset_labelerlabels_backgroundset_labels_background
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.
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
snapshot
fn snapshot(self: &Self) -> AxisSnapshot
name_property
fn name_property() -> &'static StyledProperty<String>
labels_property
fn labels_property() -> &'static StyledProperty<Vec<String>>
min_limit_property
fn min_limit_property() -> &'static StyledProperty<Option<f64>>
max_limit_property
fn max_limit_property() -> &'static StyledProperty<Option<f64>>
min_step_property
fn min_step_property() -> &'static StyledProperty<f64>
force_step_property
fn force_step_property() -> &'static StyledProperty<bool>
unit_width_property
fn unit_width_property() -> &'static StyledProperty<f64>
inverted_property
fn inverted_property() -> &'static StyledProperty<bool>
visible_property
fn visible_property() -> &'static StyledProperty<bool>
show_separator_lines_property
fn show_separator_lines_property() -> &'static StyledProperty<bool>
position_property
fn position_property() -> &'static StyledProperty<AxisPosition>
text_size_property
fn text_size_property() -> &'static StyledProperty<f64>
labels_rotation_property
fn labels_rotation_property() -> &'static StyledProperty<f64>
labels_color_property
fn labels_color_property() -> &'static StyledProperty<Color>
separators_color_property
fn separators_color_property() -> &'static StyledProperty<Color>
logarithmic_base_property
fn logarithmic_base_property() -> &'static StyledProperty<Option<f64>>
padding_property
fn padding_property() -> &'static StyledProperty<f64>
min_separators_property
fn min_separators_property() -> &'static StyledProperty<u32>
labels_angle_property
fn labels_angle_property() -> &'static StyledProperty<f64>
custom_separators_property
fn custom_separators_property() -> &'static StyledProperty<Vec<f64>>
labels_padding_property
fn labels_padding_property() -> &'static StyledProperty<Option<f64>>
labels_density_property
fn labels_density_property() -> &'static StyledProperty<f64>
labeler_property
fn labeler_property() -> &'static StyledProperty<Option<Labeler>>
labels_background_property
fn labels_background_property() -> &'static StyledProperty<Option<Color>>
name
fn name(self: &Self) -> String
set_name
fn set_name(self: &Self, value: String)
labels
fn labels(self: &Self) -> Vec<String>
set_labels
fn set_labels(self: &Self, value: Vec<String>)
min_limit
fn min_limit(self: &Self) -> Option<f64>
set_min_limit
fn set_min_limit(self: &Self, value: Option<f64>)
max_limit
fn max_limit(self: &Self) -> Option<f64>
set_max_limit
fn set_max_limit(self: &Self, value: Option<f64>)
min_step
fn min_step(self: &Self) -> f64
set_min_step
fn set_min_step(self: &Self, value: f64)
force_step
fn force_step(self: &Self) -> bool
set_force_step
fn set_force_step(self: &Self, value: bool)
unit_width
fn unit_width(self: &Self) -> f64
set_unit_width
fn set_unit_width(self: &Self, value: f64)
inverted
fn inverted(self: &Self) -> bool
set_inverted
fn set_inverted(self: &Self, value: bool)
visible
fn visible(self: &Self) -> bool
set_visible
fn set_visible(self: &Self, value: bool)
show_separator_lines
fn show_separator_lines(self: &Self) -> bool
set_show_separator_lines
fn set_show_separator_lines(self: &Self, value: bool)
position
fn position(self: &Self) -> AxisPosition
set_position
fn set_position(self: &Self, value: AxisPosition)
text_size
fn text_size(self: &Self) -> f64
set_text_size
fn set_text_size(self: &Self, value: f64)
labels_rotation
fn labels_rotation(self: &Self) -> f64
set_labels_rotation
fn set_labels_rotation(self: &Self, value: f64)
labels_color
fn labels_color(self: &Self) -> Color
set_labels_color
fn set_labels_color(self: &Self, value: Color)
separators_color
fn separators_color(self: &Self) -> Color
set_separators_color
fn set_separators_color(self: &Self, value: Color)
logarithmic_base
fn logarithmic_base(self: &Self) -> Option<f64>
set_logarithmic_base
fn set_logarithmic_base(self: &Self, value: Option<f64>)
padding
fn padding(self: &Self) -> f64
set_padding
fn set_padding(self: &Self, value: f64)
min_separators
fn min_separators(self: &Self) -> u32
set_min_separators
fn set_min_separators(self: &Self, value: u32)
labels_angle
fn labels_angle(self: &Self) -> f64
set_labels_angle
fn set_labels_angle(self: &Self, value: f64)
custom_separators
fn custom_separators(self: &Self) -> Vec<f64>
set_custom_separators
fn set_custom_separators(self: &Self, value: Vec<f64>)
labels_padding
fn labels_padding(self: &Self) -> Option<f64>
set_labels_padding
fn set_labels_padding(self: &Self, value: Option<f64>)
labels_density
fn labels_density(self: &Self) -> f64
set_labels_density
fn set_labels_density(self: &Self, value: f64)
labeler
fn labeler(self: &Self) -> Option<Labeler>
set_labeler
fn set_labeler(self: &Self, value: Option<Labeler>)
labels_background
fn labels_background(self: &Self) -> Option<Color>
set_labels_background
fn set_labels_background(self: &Self, value: Option<Color>)
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.