FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CategoryAxis

    struct · ferroui-controls-charts · v0.5.0

    struct CategoryAxis
    

    An axis whose categories retain source order or sort by their values.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<CategoryAxis>
    

    Returns a strong reference to this object.

    Source

    sort_key_property

    fn sort_key_property() -> &'static StyledProperty<CategorySortKey>
    

    Source

    sort_order_property

    fn sort_order_property() -> &'static StyledProperty<SortOrder>
    

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    sort_key

    fn sort_key(self: &Self) -> CategorySortKey
    

    Source

    set_sort_key

    fn set_sort_key(self: &Self, value: CategorySortKey)
    

    Source

    sort_order

    fn sort_order(self: &Self) -> SortOrder
    

    Source

    set_sort_order

    fn set_sort_order(self: &Self, value: SortOrder)
    

    Source

    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.

    Source

    Trait implementations

    Availability

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