Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

描边绘制有问题 #4870

Closed
shield2018 opened this issue Apr 6, 2023 · 3 comments
Closed

描边绘制有问题 #4870

shield2018 opened this issue Apr 6, 2023 · 3 comments
Assignees
Labels

Comments

@shield2018
Copy link
Contributor

shield2018 commented Apr 6, 2023

v5.0.1

柱状图设置了stroke,绘制出来上下有很小的偏移,导致上部元素颜色和边框颜色重叠,会有一条深色线,底部会有一条白线
macbook高分屏幕,放大后截图
big
macbook高分屏幕,未放大
small

@pearmini pearmini assigned laispace and xiaoiver and unassigned laispace Apr 6, 2023
@xiaoiver
Copy link
Contributor

我写了一个 demo,用原生 Canvas API 绘制的:
https://codepen.io/xiaoiver/pen/KKGMMqB

截屏2023-04-17 下午4 13 30

你可以看看你那边是否也有类似现象?

@pearmini pearmini added the V5 label Apr 25, 2023
@shield2018
Copy link
Contributor Author

demo是很多小球闪动?

@xiaoiver
Copy link
Contributor

xiaoiver commented May 9, 2023

demo是很多小球闪动?

不好意思之前的 demo 被覆盖了,我又写了一个:
https://codepen.io/xiaoiver/pen/dygmNjE

我看了下目前的实现也就是调用原生的 Canvas2D API 例如 ctx.fill / stroke

@antvis antvis locked and limited conversation to collaborators May 10, 2023
@hustcc hustcc converted this issue into discussion #4984 May 10, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

4 participants