# PolarChartEngine

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/polar_chart_engine/struct-polarchartengine/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct PolarChartEngine
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/polar_chart_engine.rs#L100)

## Members

- [`measure`](#function-measure)
- [`measure_with_axes`](#function-measure_with_axes)
- [`measure_with_axes_and_labels`](#function-measure_with_axes_and_labels)

<a id="function-measure"></a>

### measure

```rust
fn measure(size: Size, series: &[Series], angle_axis: &Axis, radius_axis: &Axis, options: &PolarOptions) -> Result<Scene, ChartError>
```

Convenience entry point for a single angle/radius axis pair.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/polar_chart_engine.rs#L103)

<a id="function-measure_with_axes"></a>

### measure_with_axes

```rust
fn measure_with_axes(size: Size, series: &[Series], angle_axes: &[Axis], radius_axes: &[Axis], options: &PolarOptions) -> Result<PolarMeasurement, ChartError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/polar_chart_engine.rs#L119)

<a id="function-measure_with_axes_and_labels"></a>

### measure_with_axes_and_labels

```rust
fn measure_with_axes_and_labels(size: Size, series: &[Series], angle_axes: &[Axis], radius_axes: &[Axis], options: &PolarOptions, measure_text: impl FnMut(&str, f64) -> Size) -> Result<PolarMeasurement, ChartError>
```

Native hosts supply FormattedText metrics here so axis margins and labels
use the same typeface and font backend as the rendered text.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/polar_chart_engine.rs#L137)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
