Skip to content

[3.8] useAxisTicks returns different ticks than rendered #6978

@PavelVanecek

Description

@PavelVanecek

This is not yet released, just making a note to fix this before release. CartesianAxis has extra filtering logic inside which we should also move into the hook, otherwise the hook returns more ticks than are actually rendered which creates some inconsistent behaviour.

See here where the annotation snaps to non-existent YAxis tick (45000):

Screen.Recording.2026-02-09.at.21.19.43.mov

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions