# CartesianAxis

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-charts/struct-cartesianaxis/

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

```rust
struct CartesianAxis
```

Presentation properties shared by category, numeric, and date axes.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L11)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`show_tick_labels_property`](#function-show_tick_labels_property)
- [`show_tick_marks_property`](#function-show_tick_marks_property)
- [`grid_lines_property`](#function-grid_lines_property)
- [`grid_line_major_brush_property`](#function-grid_line_major_brush_property)
- [`grid_line_minor_brush_property`](#function-grid_line_minor_brush_property)
- [`tick_brush_property`](#function-tick_brush_property)
- [`tick_label_brush_property`](#function-tick_label_brush_property)
- [`axis_line_brush_property`](#function-axis_line_brush_property)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`show_tick_labels`](#function-show_tick_labels)
- [`set_show_tick_labels`](#function-set_show_tick_labels)
- [`show_tick_marks`](#function-show_tick_marks)
- [`set_show_tick_marks`](#function-set_show_tick_marks)
- [`grid_lines`](#function-grid_lines)
- [`set_grid_lines`](#function-set_grid_lines)
- [`grid_line_major_brush`](#function-grid_line_major_brush)
- [`set_grid_line_major_brush`](#function-set_grid_line_major_brush)
- [`grid_line_minor_brush`](#function-grid_line_minor_brush)
- [`set_grid_line_minor_brush`](#function-set_grid_line_minor_brush)
- [`tick_brush`](#function-tick_brush)
- [`set_tick_brush`](#function-set_tick_brush)
- [`tick_label_brush`](#function-tick_label_brush)
- [`set_tick_label_brush`](#function-set_tick_label_brush)
- [`axis_line_brush`](#function-axis_line_brush)
- [`set_axis_line_brush`](#function-set_axis_line_brush)

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

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L15)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<CartesianAxis>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L15)

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

### show_tick_labels_property

```rust
fn show_tick_labels_property() -> &'static StyledProperty<bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### show_tick_marks_property

```rust
fn show_tick_marks_property() -> &'static StyledProperty<bool>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### grid_lines_property

```rust
fn grid_lines_property() -> &'static StyledProperty<GridLines>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### grid_line_major_brush_property

```rust
fn grid_line_major_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### grid_line_minor_brush_property

```rust
fn grid_line_minor_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### tick_brush_property

```rust
fn tick_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### tick_label_brush_property

```rust
fn tick_label_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### axis_line_brush_property

```rust
fn axis_line_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L21)

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

### construct

```rust
fn construct() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L49)

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

### new

```rust
fn new() -> Ref<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L54)

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

### show_tick_labels

```rust
fn show_tick_labels(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L57)

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

### set_show_tick_labels

```rust
fn set_show_tick_labels(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L60)

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

### show_tick_marks

```rust
fn show_tick_marks(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L63)

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

### set_show_tick_marks

```rust
fn set_show_tick_marks(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L66)

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

### grid_lines

```rust
fn grid_lines(self: &Self) -> GridLines
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L69)

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

### set_grid_lines

```rust
fn set_grid_lines(self: &Self, value: GridLines)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L72)

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

### grid_line_major_brush

```rust
fn grid_line_major_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L75)

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

### set_grid_line_major_brush

```rust
fn set_grid_line_major_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L78)

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

### grid_line_minor_brush

```rust
fn grid_line_minor_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L81)

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

### set_grid_line_minor_brush

```rust
fn set_grid_line_minor_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L84)

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

### tick_brush

```rust
fn tick_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L87)

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

### set_tick_brush

```rust
fn set_tick_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L90)

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

### tick_label_brush

```rust
fn tick_label_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L93)

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

### set_tick_label_brush

```rust
fn set_tick_label_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L96)

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

### axis_line_brush

```rust
fn axis_line_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L99)

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

### set_axis_line_brush

```rust
fn set_axis_line_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.Charts/cartesian_axis.rs#L102)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<CartesianAxis>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)

## Availability

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