# AxisLimit

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

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

```rust
struct AxisLimit
```



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

## Members

- [`min`](#struct_field-min)
- [`max`](#struct_field-max)
- [`min_delta`](#struct_field-min_delta)
- [`data_min`](#struct_field-data_min)
- [`data_max`](#struct_field-data_max)
- [`user_set_min`](#struct_field-user_set_min)
- [`user_set_max`](#struct_field-user_set_max)
- [`new`](#function-new)
- [`validate_limits`](#function-validate_limits)

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

### min

```rust
min: f64
```



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

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

### max

```rust
max: f64
```



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

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

### min_delta

```rust
min_delta: f64
```



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

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

### data_min

```rust
data_min: f64
```



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

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

### data_max

```rust
data_max: f64
```



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

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

### user_set_min

```rust
user_set_min: Option<f64>
```



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

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

### user_set_max

```rust
user_set_max: Option<f64>
```



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

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

### new

```rust
const fn new(min: f64, max: f64, min_delta: f64, data_min: f64, data_max: f64) -> Self
```



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

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

### validate_limits

```rust
fn validate_limits(min: &mut f64, max: &mut f64, step: f64)
```

Supplies default limits for the sentinel extrema of an empty bounds.

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

## 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/).
