描边绘制有问题 #4984
Answered
by
xiaoiver
shield2018
asked this question in
Q&A
描边绘制有问题
#4984
-
v5.0.1 柱状图设置了stroke,绘制出来上下有很小的偏移,导致上部元素颜色和边框颜色重叠,会有一条深色线,底部会有一条白线 |
Beta Was this translation helpful? Give feedback.
Answered by
xiaoiver
May 9, 2023
Replies: 3 comments 2 replies
-
我写了一个 demo,用原生 Canvas API 绘制的: 你可以看看你那边是否也有类似现象? |
Beta Was this translation helpful? Give feedback.
0 replies
-
demo是很多小球闪动? |
Beta Was this translation helpful? Give feedback.
0 replies
-
不好意思之前的 demo 被覆盖了,我又写了一个: 我看了下目前的实现也就是调用原生的 Canvas2D API 例如 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
hustcc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不好意思之前的 demo 被覆盖了,我又写了一个:
https://codepen.io/xiaoiver/pen/dygmNjE
我看了下目前的实现也就是调用原生的 Canvas2D API 例如
ctx.fill / stroke
。