# Coordinate

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/kernel/struct-coordinate/

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

```rust
struct Coordinate
```

A mapped chart datum. The primary dimension is normally Y, secondary X.

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

## Members

- [`primary_value`](#struct_field-primary_value)
- [`secondary_value`](#struct_field-secondary_value)
- [`tertiary_value`](#struct_field-tertiary_value)
- [`quaternary_value`](#struct_field-quaternary_value)
- [`quinary_value`](#struct_field-quinary_value)
- [`senary_value`](#struct_field-senary_value)
- [`point_error`](#struct_field-point_error)
- [`is_empty`](#struct_field-is_empty)
- [`EMPTY`](#assoc_const-empty)
- [`from_values`](#function-from_values)
- [`new`](#function-new)
- [`weighted`](#function-weighted)
- [`financial`](#function-financial)
- [`box_value`](#function-box_value)
- [`range`](#function-range)
- [`with_error`](#function-with_error)
- [`is_finite`](#function-is_finite)

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

### primary_value

```rust
primary_value: f64
```



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

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

### secondary_value

```rust
secondary_value: f64
```



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

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

### tertiary_value

```rust
tertiary_value: f64
```



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

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

### quaternary_value

```rust
quaternary_value: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L10)

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

### quinary_value

```rust
quinary_value: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L11)

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

### senary_value

```rust
senary_value: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L12)

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

### point_error

```rust
point_error: super::Error
```



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

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

### is_empty

```rust
is_empty: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L14)

<a id="assoc_const-empty"></a>

### EMPTY

```rust
const EMPTY: Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L18)

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

### from_values

```rust
const fn from_values(primary: f64, secondary: f64, tertiary: f64, quaternary: f64, quinary: f64, senary: f64, error: Error) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L23)

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

### new

```rust
const fn new(x: f64, y: f64) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L44)

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

### weighted

```rust
const fn weighted(x: f64, y: f64, weight: f64) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L47)

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

### financial

```rust
const fn financial(x: f64, high: f64, open: f64, close: f64, low: f64) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L50)

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

### box_value

```rust
const fn box_value(x: f64, maximum: f64, third_quartile: f64, first_quartile: f64, minimum: f64, median: f64) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L53)

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

### range

```rust
const fn range(x: f64, high: f64, low: f64) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L71)

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

### with_error

```rust
const fn with_error(self: Self, error: Error) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L74)

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

### is_finite

```rust
fn is_finite(self: Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/coordinate.rs#L78)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ToString`
- [`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`
- `StructuralPartialEq`
- `PartialEq`
- `Default`
- `Display`

## Availability

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