# AxisTick

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/measure/struct-axistick/

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

```rust
struct AxisTick
```



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

## Members

- [`value`](#struct_field-value)
- [`magnitude`](#struct_field-magnitude)
- [`cartesian`](#function-cartesian)
- [`polar`](#function-polar)
- [`nice`](#function-nice)

<a id="struct_field-value"></a>

### value

```rust
value: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/axis_tick.rs#L6)

<a id="struct_field-magnitude"></a>

### magnitude

```rust
magnitude: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/axis_tick.rs#L7)

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

### cartesian

```rust
fn cartesian(control_size: Size, min: f64, max: f64, options: TickOptions) -> Self
```

Computes the source nice-number ladder (1, 2, 5, 10), including the
density, rotated-label and minimum-separator adjustments.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/axis_tick.rs#L40)

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

### polar

```rust
fn polar(control_size: Size, min: f64, max: f64, inner_radius: f64, total_angle: f64, is_angle: bool, min_separators: u32, force_step_to_min: bool) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/axis_tick.rs#L86)

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

### nice

```rust
fn nice(range: f64, separations: f64, min_separators: u32, force_step_to_min: bool) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/measure/axis_tick.rs#L105)

## 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`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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