FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreemapSeries

    struct · ferroui-livecharts · v0.5.0

    struct TreemapSeries
    

    A treemap series: the paints, padding (Padding, 2 by default), corner radius and data labels of its Series, and its root nodes (the source's Values).

    View source

    Members

    series

    series: crate::series::Series
    

    Source

    nodes

    nodes: Vec<TreemapNode>
    

    Source

    new

    fn new(nodes: Vec<TreemapNode>) -> Self
    

    Source

    total_weight

    fn total_weight(self: &Self) -> f64
    

    The sum of the resolved weights of the roots (GetTotalWeight), which partitions the draw margin between the series.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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