Skip to content

feat: linear bar add barpadding option #3967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

LonelySnowman
Copy link
Contributor

@LonelySnowman LonelySnowman commented May 15, 2025

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Release
  • Site / documentation update
  • Demo update
  • Workflow
  • Other (about what?)

🔗 Related issue link

Close #2629

🔗 Related PR link

None

🐞 Bugserver case id

None

💡 Background and solution

Add barPadding option for histogram chart.

📝 Changelog

Language Changelog
🇺🇸 English Add barGap option for histogram chart
🇨🇳 Chinese 为直方图添加 barGap 属性

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

@LonelySnowman
Copy link
Contributor Author

#3048 之前 PR 的 badcase 都测试过。

X 轴反向

image

添加最小宽度保护

image

水平堆叠直方图

image

基础直方图

image

@xuefei1313
Copy link
Contributor

参考一下之前一个学生的pr,里面提到了一些case
#3048
主要验证以下几个场景:
轴反转
最小宽度
还有参数名称,改为 barGap 吧

@LonelySnowman
Copy link
Contributor Author

@xuefei1313 轴反转 最小宽度 这两个 case 我验证过了,上面的评论有截图。参数名称从 barPadding 改为了 barGap。CI 流程 Bug Server CI / build 的报错应该不是我这个 PR 引入的,size limit 的 CI 我感觉要调高一点。

@xiaoluoHe
Copy link
Contributor

跑一下 rush change,补充一下发布日志

@github-actions github-actions bot added the chore label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] histogram support barPadding
3 participants