Skip to content

fix(vchart): Support functional alternateColor in axis grid configuration#4481

Merged
xuefei1313 merged 1 commit intodevelopfrom
fix/fix-gird-alternateColor
Feb 26, 2026
Merged

fix(vchart): Support functional alternateColor in axis grid configuration#4481
xuefei1313 merged 1 commit intodevelopfrom
fix/fix-gird-alternateColor

Conversation

@xuefei1313
Copy link
Contributor

🤔 这个分支是...

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

🔗 相关 issue 链接

🔗 相关的 PR 链接

🐞 Bugserver 用例 id

💡 问题的背景&解决方案

Support functional alternateColor in axis grid configuration. Previously, alternateColor might not have been correctly evaluated if it was a function. This change ensures transformFunctionAttribute is used to resolve alternateColor for both grid and subGrid.

📝 Changelog

Language Changelog
🇺🇸 English Support functional alternateColor in axis grid configuration.
🇨🇳 Chinese 支持轴网格线配置中的 alternateColor 属性为函数类型。

☑️ 自测

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

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

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

@xuefei1313 xuefei1313 merged commit 050e432 into develop Feb 26, 2026
7 of 10 checks passed
@xuefei1313 xuefei1313 deleted the fix/fix-gird-alternateColor branch February 26, 2026 08:09
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