Skip to content

[Auto release] release 1.1.5#2098

Merged
xuefei1313 merged 8 commits into
mainfrom
release/1.1.5
Jul 17, 2026
Merged

[Auto release] release 1.1.5#2098
xuefei1313 merged 8 commits into
mainfrom
release/1.1.5

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

No description provided.

skie1997 and others added 8 commits June 12, 2026 19:54
[Auto Sync] Sync the code from branch main to branch develop after release 1.1.4
fix: rich text line dash not work. fix @VisActor/VChart#4595
… content

By default the discrete legend pins its pager to the far end of the
available legend space while items stay at the start, so a paged legend
always renders justified (items left, pager right) and its bounds always
occupy the full available width/height.

Add an opt-in pager.hugContent option (default false, fully backward
compatible). When enabled:

1. the pager is placed right after the last legend item (with pager.space
   as the gap), falling back to the original edge-pinned position when
   the content fills the available space;
2. the paging clip viewport shrinks to the actual content extent, so the
   legend bounds hug "items + pager" instead of being pinned at the full
   available size by the fixed-size clip group.

With the bounds hugging the content, outer layouts (e.g. VChart legend
position 'middle') can center the whole block, matching the common
"content + pager centered together" legend layout.
feat(legend): support pager.hugContent to hug and center paged legend content
@github-actions
github-actions Bot requested a review from xile611 July 17, 2026 07:00
@xuefei1313
xuefei1313 merged commit 68f4288 into main Jul 17, 2026
4 checks passed
@xuefei1313
xuefei1313 deleted the release/1.1.5 branch July 17, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants