# AngularTicks

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/pie_chart_engine/struct-angularticks/

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

```rust
struct AngularTicks
```

The ticks of an angular gauge (`AngularTicksVisual`): an arc over the range of the chart,
a tick and a label at each step of ten nice separations of the range, and four sub-ticks
between two ticks.

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

## Members

- [`stroke`](#struct_field-stroke)
- [`stroke_width`](#struct_field-stroke_width)
- [`labels_color`](#struct_field-labels_color)
- [`outer_offset`](#struct_field-outer_offset)
- [`labels_outer_offset`](#struct_field-labels_outer_offset)
- [`ticks_length`](#struct_field-ticks_length)
- [`labels_size`](#struct_field-labels_size)
- [`labeler`](#struct_field-labeler)

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

### stroke

```rust
stroke: Option<ferroui_base::media::Color>
```

The stroke of the arc and the ticks (`Stroke`); `None` draws none.

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

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

### stroke_width

```rust
stroke_width: f64
```



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

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

### labels_color

```rust
labels_color: Option<ferroui_base::media::Color>
```

The paint of the labels (`LabelsPaint`); `None` draws none.

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

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

### outer_offset

```rust
outer_offset: f64
```

What the diameter of the arc is short of the draw margin (`OuterOffset`).

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

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

### labels_outer_offset

```rust
labels_outer_offset: f64
```

How far inside the draw margin the labels are (`LabelsOuterOffset`).

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

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

### ticks_length

```rust
ticks_length: f64
```

The length of a tick (`TicksLength`); a sub-tick is half of it.

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

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

### labels_size

```rust
labels_size: f64
```



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

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

### labeler

```rust
labeler: Option<crate::labelers::Labeler>
```

The label of a tick (`Labeler`); `None` is the source's default,
`Labelers::six_representative_digits`.

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

## 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`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Default`

## Availability

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