antvis/G6
The issue has been closed
趋势时间轴滑块左右两边数值修改样式不成功 #4473
Keson111 posted onGitHub
问题描述
我想修改趋势时间轴滑块左右两边数值的颜色,翻看文档,尝试修改SliderOption 中的textStyle未生效。
重现链接
暂无
重现步骤
const timebar = new G6.TimeBar({ x: 0, y: 0, width, height: 150, padding: 10, type: 'trend', trend: { data: timeBarData, }, slider: { textStyle:{ fill:'#303133', stroke:'#303133', } } });
预期行为
我想实现的效果如下:
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [4.5.1 ... ]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response