@visx/area graph has stroke on the borders of the graph #1565
-
Beta Was this translation helpful? Give feedback.
Answered by
williaster
Sep 12, 2022
Replies: 1 comment 1 reply
-
Hi @chanzer0 👋 thanks for checking out this outline is a consequence of how |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chanzer0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @chanzer0 👋 thanks for checking out
visx
. this is a usage question so moving it to discussion not an issue.this outline is a consequence of how
path
borders work. you can remove it entirely by settingstrokeWidth={0}/stroke="transparent"
. alternatively if you only want to render a border on one side of the area, you need to also render aLinePath
from@visx/shape
– see this for an example https://airbnb.io/visx/glyphs