Skip to content

@visx/area graph has stroke on the borders of the graph #1565

Answered by williaster
chanzer0 asked this question in Q&A
Discussion options

You must be logged in to vote

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 setting strokeWidth={0}/stroke="transparent". alternatively if you only want to render a border on one side of the area, you need to also render a LinePath from @visx/shape – see this for an example https://airbnb.io/visx/glyphs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chanzer0
Comment options

Answer selected by chanzer0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1562 on September 12, 2022 21:55.