CHART_Y_TICK_COUNT

const
Components

Default number of Y-axis ticks drawn by OrigamChart. The composable snaps the data range to a nice multiple of this value — five rows fits most narrow chart heights without crowding.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamChart

Usage

Examples

Ready-to-paste code snippets using this constant.

Referencing CHART_Y_TICK_COUNT for custom axis logic

typescript