Docs.rs
chartml-core-3.0.0
chartml-core 3.0.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
jasadams
Dependencies
arrow ^57
normal
async-trait ^0.1
normal
chrono ^0.4
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
thiserror ^2
normal
Versions
30.72%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module axes
chartml_
core
3.0.0
Module axes
Module Items
Structs
Enums
Functions
In chartml_
core::
layout
chartml_core
::
layout
Module
axes
Copy item path
Source
Structs
§
Axis
Layout
Generates tick positions and formatted labels for a continuous axis.
Category
Tick
Mark
A single tick mark for band/category axes.
Tick
Mark
A single tick mark with its position and label.
Enums
§
Axis
Position
Position of the axis relative to the chart area.
Functions
§
adaptive_
tick_
count
Calculate the optimal number of ticks based on available axis length in pixels. Formula: floor(axis_length / 50), clamped to 3..=10 For very small charts (< ~150px), allows as few as 3 ticks to avoid crowding.