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

brushXHighlight属性样式设置会导致一部分不符合预期高亮 #6190

Closed
Runtus opened this issue Apr 22, 2024 · 1 comment · Fixed by #6193
Closed

brushXHighlight属性样式设置会导致一部分不符合预期高亮 #6190

Runtus opened this issue Apr 22, 2024 · 1 comment · Fixed by #6193
Assignees
Labels

Comments

@Runtus
Copy link
Contributor

Runtus commented Apr 22, 2024

问题描述

  • 为brushXHighlight设置高亮样式时,会出现一部分不符合预期的错位高亮
image

代码如下:

 context
.line()
.encode('x', 'time')
.encode('y', 'value')
.encode("color", "type")
.animate(false)
.axis(false)
.interaction('tooltip', false)
.interaction('brushXHighlight', {
           series: true,
            maskOpacity: 0.3,
            maskFill: '#777',
});
image

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini
Copy link
Member

这个问题可能和最近底层渲染引擎的升级有关系 #6149 ,这个问题我们排查一下 @xiaoiver

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 a pull request may close this issue.

3 participants