Skip to content

fix(vseed): 恢复柱体裁剪,修复柱宽与描边偏移 - #552

Merged
youngwinds merged 1 commit into
mainfrom
codex/fix-bar-visual-regression
Sep 29, 2026
Merged

youngwinds merged 1 commit into
mainfrom
codex/fix-bar-visual-regression

Conversation

@youngwinds

Copy link
Copy Markdown
Collaborator

恢复静态柱体的裁剪边界,修复单系列、条件圆角以及未配置 stackCornerRadius 的双轴图中描边外扩导致的柱宽、间距和边缘位置变化。

裁剪按最后匹配的圆角规则处理,保留未命中图元的默认圆角和显式 barRadius: 0;moveIn 继续使用图元圆角,避免移动过程被最终位置的裁剪截断。修改维持可组合的 pipe,不增加图表类型分支,并补充三个报告用例的真实渲染回归测试。

  • 发布:仅新增 VSeed patch changeset;固定发布组计划由 0.6.3 升至 0.6.4。
  • 验证:受影响包生成通过;根目录 test:coverage、lint:check、typecheck 通过。VSeed 全量 1,355 项、单元 552 项通过;单元覆盖率四项均提升,已提高门槛并复验。
  • 页面验收:官网首页、Playground 和三个报告用例正常渲染。同浏览器与旧版对比,双轴图为 0 像素差异。

已知残留:两张条件样式图的柱体边界已恢复,部分标签仍有约 1–2 px 差异。该差异来自 VChart 升级后标签使用 finalAttrs 计算边界时未包含条件状态的描边宽度;本 PR 未引入固定像素补偿,也未更新截图基准。远端全部 808 个截图用例尚未重跑。

@youngwinds
youngwinds merged commit 62f73ac into main Sep 29, 2026
4 of 5 checks passed
@youngwinds
youngwinds deleted the codex/fix-bar-visual-regression branch September 29, 2026 11:18
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