legend不支持配置分页按钮颜色 #6492
YunHeWebGit posted onGitHub
问题描述
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