PieChartEngine
struct · ferroui-livecharts · v0.5.0
struct PieChartEngine
Members
measure
fn measure(size: Size, series: &[Series], options: &PieOptions) -> Result<Scene, ChartError>
measure_with_labels
fn measure_with_labels(size: Size, series: &[Series], options: &PieOptions, measure_text: impl FnMut(&str, f64) -> Size) -> Result<Scene, ChartError>
Native hosts supply their text shaper so outer label reservation and centered labels use the same font metrics as the final drawing.
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.