SankeyChartEngine
struct · ferroui-livecharts · v0.5.0
struct SankeyChartEngine
Members
measure
fn measure(size: Size, series: &[SankeySeries], options: &SankeyOptions) -> Result<Scene, ChartError>
measure_with_labels
fn measure_with_labels(size: Size, series: &[SankeySeries], options: &SankeyOptions, measure_text: impl FnMut(&str, f64) -> Size) -> Result<Scene, ChartError>
Native hosts supply their text metrics here, so that the room reserved for the labels fits the typeface that draws them. Every series takes the whole draw margin, as in the source.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.