Skip to content

fix: time scale nice domain inference#404

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

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

Conversation

@gka
Copy link
Copy Markdown
Contributor

@gka gka commented Feb 21, 2026

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
Copy link
Copy Markdown

netlify bot commented Feb 21, 2026

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