CategoryAxis
struct · ferroui-controls-charts · v0.5.0
struct CategoryAxis
An axis whose categories retain source order or sort by their values.
Members
TYPEto_refsort_key_propertysort_order_propertyconstructnewsort_keyset_sort_keysort_orderset_sort_ordersorted_indices_by
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CategoryAxis>
Returns a strong reference to this object.
sort_key_property
fn sort_key_property() -> &'static StyledProperty<CategorySortKey>
sort_order_property
fn sort_order_property() -> &'static StyledProperty<SortOrder>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
sort_key
fn sort_key(self: &Self) -> CategorySortKey
set_sort_key
fn set_sort_key(self: &Self, value: CategorySortKey)
sort_order
fn sort_order(self: &Self) -> SortOrder
set_sort_order
fn set_sort_order(self: &Self, value: SortOrder)
sorted_indices_by
fn sorted_indices_by(self: &Self, count: usize, compare: impl FnMut(usize, usize) -> Ordering) -> Vec<usize>
Source indices in display order. Equal values retain source order. The comparator allows typed numeric/date values to remain typed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<CategoryAxis>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.