Skip to content

Conversation

YUST2020
Copy link

🤔 这个分支是...

  • 新功能
  • Bug fix
  • Ts 类型更新
  • 打包优化
  • 性能优化
  • 功能增强
  • 重构
  • 依赖版本更新
  • 代码优化
  • 测试 case 更新
  • 分支合并
  • 网站/文档更新
  • demo 更新
  • Workflow
  • 配置修改
  • 发布
  • 其他 (具体是什么,请补充?)

🔗 相关 issue 连接

飞书群话题,无法复制链接,搜索下列场景关键字可得

💡 问题的背景&解决方案

场景:
现在我希望在甘特图中根据startDate和endDate自动生成的bar上再额外显示一条bar,这条新bar的时间区间可能和自动生成的bar不重叠我尝试用customLayout上加一个偏移的Rect实现,但是发现自定义的外层有一个barGroup,这个group设置了clip: true,导致我新增加的bar只有与自动生成重叠的部分才能显示
修改内容
原有barGroup的clip强制设置为true,现在增加了taskBar.clip(默认为true)配置项,支持手动控制clip

📝 Changelog

Language Changelog
🇺🇸 English Add the Gantt.taskbar.clip configuration item to support custom Gantt Bar content overflow
🇨🇳 Chinese 增加Gantt.taskBar.clip配置项,支持自定义甘特条内容溢出

☑️ 自测

⚠️ 在提交 PR 之前,请检查一下内容. ⚠️

  • 文档提供了,或者更新,或者不需要
  • Demo 提供了,或者更新,或者不需要
  • Ts 类型定义提供了,或者更新,或者不需要
  • Changelog 提供了,或者不需要

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

@github-actions github-actions bot added the docs label Oct 16, 2025
@fangsmile fangsmile changed the base branch from develop to feat/bar-group-clip-config October 21, 2025 07:15
@fangsmile fangsmile merged commit 7af7ce1 into VisActor:feat/bar-group-clip-config Oct 21, 2025
2 checks passed
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