Skip to content
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

legend不支持配置分页按钮颜色 #6492

Open
YunHeWebGit opened this issue Oct 14, 2024 · 0 comments
Open

legend不支持配置分页按钮颜色 #6492

YunHeWebGit opened this issue Oct 14, 2024 · 0 comments

Comments

@YunHeWebGit
Copy link

问题描述

legend当需要指定分页的时候,现在无法配置分页图标的颜色;使用版本"@antv/g2": "^5.1.15";
navDuration | 单次翻页动效时长 | number | 200
navOrient | 翻页滚动方向- 横向'horizontal'- 纵向'vertical' | 'horizontal'|'vertical' | 'horizontal'
navInitPage | 默认展示页数 | number | 0
navLoop | 是否启用循环翻页 | boolean | false
navFormatter | 页码文本格式化 | (current: number, total: number) => string;

*4.版本是支持的
pageNavigator: {
marker: {//分页器指示箭头配置项
style: {
// 非激活,不可点击态时的填充色设置
inactiveFill: "#fff",//分页器:箭头颜色
inactiveOpacity: 1,//分页器:箭头透明度
// 默认填充色设置
fill: "#fff",//分页器:颜色
opacity: 1,//分页器:透明度
size: 12,//分页器:大小
},
},
text: {//分页器指示文本配置项
style: {
fill: "#fff",//分页器:文本颜色
fontSize: 12,//分页器:文本大小
},
},
},

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

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

No branches or pull requests

2 participants
@YunHeWebGit and others