> For the complete documentation index, see [llms.txt](https://ezel.rustic.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ezel.rustic.dev/basics/2.-concepts/axis.md).

# Axis

### Types

#### Scalar Axis

Axis scales are available in scalar axis.

```
scalar_axis.scale = ...
```

* Identity Scale (default)
* Log Scale
* Exponential Scale
* Custom Scale

#### DateTime Axis

\-

#### Categorical Axis

A categorical axis provides a center point and width.

The location and size of histogram bars are determined by the axis property.

***

### Tick Locators

A tick locator determines major ticks, minor ticks, and tick labels, and "nice numbers".

#### Wilkinson

#### Talbot

An extension of Wilkinson algorithm. It is described in "An Extension of Wilkinson’s Algorithm for Positioning Tick Labels on Axes".

#### Cryptowatch

A 2-level datetime axis motivated by Cryptowatch. This design reduces the amount of label text, making a clean look without losing the required level of details.

The below is an example of typical datetime labeling. "2020-05-" is unnecessarily repeated and the label space is dense. If there were more ticks, we would have overlapping labels or would have to skip some labels.

![Matplotlib](/files/vTAbTykuSduHkm2w2JId)

On the other hand, 2-level layout has 2 rows of labels. The less important unit (2022-04-xx) is extracted out to the second level. The interval of the first level (5 hours) is determined from the current zoom state, label density, and datetime resolution.

![Cryptowatch Desktop](/files/hY2rYirgSKuUyLOENAo4)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ezel.rustic.dev/basics/2.-concepts/axis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
