Skip to content

fix: format axis tick labels as plain numbers and tune default tick counts#170

Merged
chrisdicaprio merged 6 commits intomainfrom
fix/169-axis-labels
Mar 18, 2026
Merged

fix: format axis tick labels as plain numbers and tune default tick counts#170
chrisdicaprio merged 6 commits intomainfrom
fix/169-axis-labels

Conversation

@chrisdicaprio
Copy link
Copy Markdown
Collaborator

@chrisdicaprio chrisdicaprio commented Mar 16, 2026

closes #169

Fixes axis labels on HazardChart and GroupCurveChart that were rendering in scientific notation (e.g. m, μ). Adds a tickFormat to both axes on each chart to force plain number display. Also sets the default number of X-axis ticks on GroupCurveChart to 3 for log scales and 5 for linear.

@chrisdicaprio chrisdicaprio changed the title Fix/169 axis labels fix: format axis tick labels as plain numbers and tune default tick counts Mar 17, 2026
@chrisdicaprio chrisdicaprio marked this pull request as ready for review March 17, 2026 17:45
@chrisdicaprio chrisdicaprio requested review from chrisbc and voj March 17, 2026 17:45
Copy link
Copy Markdown
Collaborator

@voj voj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chrisdicaprio chrisdicaprio merged commit 6f6da3a into main Mar 18, 2026
1 check passed
@chrisdicaprio chrisdicaprio deleted the fix/169-axis-labels branch March 18, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hazard curve axis labels

2 participants