Skip to content

fix: time scale nice domain inference#404

Merged
gka merged 2 commits into
mainfrom
codex/fix-nice-time-scale-domain
Feb 21, 2026
Merged

fix: time scale nice domain inference#404
gka merged 2 commits into
mainfrom
codex/fix-nice-time-scale-domain

Conversation

@gka

@gka gka commented Feb 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allow applying nice to time scales in autoScale without coercing the domain values to numbers
  • ensure the scale inference treats a nice option over date data as a time scale instead of forcing a linear scale
  • add regression test guarding nice on time domains and refresh the axis example/tests page content to demo the behavior

Testing

  • Not run (not requested)

@netlify

netlify Bot commented Feb 21, 2026

Copy link
Copy Markdown

βœ… Deploy Preview for svelteplot ready!

Name Link
πŸ”¨ Latest commit 01d3dbc
πŸ” Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/699990cd0ff46500087bb8bf
😎 Deploy Preview https://deploy-preview-404--svelteplot.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown

πŸ“¦ Preview package for this PR is published!

Version: 0.10.3-pr-404.0

Install it with:

npm install svelteplot@pr-404
# or install the specific version
npm install svelteplot@0.10.3-pr-404.0

@gka gka changed the title Fix time scale nice domain inference fix: time scale nice domain inference Feb 21, 2026
@github-actions

Copy link
Copy Markdown

πŸ“¦ Preview package for this PR is published!

Version: 0.10.3-pr-404.1

Install it with:

npm install svelteplot@pr-404
# or install the specific version
npm install svelteplot@0.10.3-pr-404.1

@gka gka merged commit d867b82 into main Feb 21, 2026
9 checks passed
@gka gka deleted the codex/fix-nice-time-scale-domain branch February 21, 2026 11:08
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.

1 participant