Skip to content

breaking(AnnotationLine|AnnotationPoint): Change labelOffset into e…#492

Merged
techniq merged 1 commit intonextfrom
separate-annotation-offsets
May 9, 2025
Merged

breaking(AnnotationLine|AnnotationPoint): Change labelOffset into e…#492
techniq merged 1 commit intonextfrom
separate-annotation-offsets

Conversation

@techniq
Copy link
Owner

@techniq techniq commented May 9, 2025

Change labelOffset on AnnotationLine and AnnotationPoint into explicit labelXOffset and labelYOffset for greater control (aligns with AnnotationRange)

Offsets apply to "natural" side based on placement. Here is a rough diagram of the positive direction the offset will apply (can use negative to go the other direction)

image

…xplicit `labelXOffset` and `labelYOffset` for greater control (aligns with AnnotationRange)
@changeset-bot
Copy link

changeset-bot bot commented May 9, 2025

🦋 Changeset detected

Latest commit: 41f815a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
layerchart Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerchart ✅ Ready (View Log) Visit Preview 41f815a

@pkg-pr-new
Copy link

pkg-pr-new bot commented May 9, 2025

Open in StackBlitz

npm i https://pkg.pr.new/layerchart@492

commit: 41f815a

@techniq techniq merged commit 91f839c into next May 9, 2025
5 checks passed
@techniq techniq deleted the separate-annotation-offsets branch May 9, 2025 17:34
@github-actions github-actions bot mentioned this pull request May 9, 2025
@techniq techniq mentioned this pull request Sep 23, 2025
This was referenced Oct 19, 2025
This was referenced Dec 27, 2025
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