Set border to 0px/transparent on AreaClosed Chart #1399
Answered
by
hshoff
LukasGirsch
asked this question in
Q&A
-
Hi there, I would like to add a pattern under the line without masking the Chart itself to hide the border. |
Beta Was this translation helpful? Give feedback.
Answered by
hshoff
Dec 24, 2021
Replies: 1 comment 1 reply
-
Hi @lukaa, You can use the standard svg attributes to modify the stroke. can set the stroke width to <AreaClosed
// ...
strokeWidth={0}
/> or set the stroke color to transparent: <AreaClosed
// ...
stroke="transparent"
/> Then add a <AreaClosed
// ...
strokeWidth={0}
/>
<LinePath
// ...
strokeWidth={3}
stroke="blue"
/> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LukasGirsch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @lukaa,
You can use the standard svg attributes to modify the stroke.
can set the stroke width to
0
:or set the stroke color to transparent:
Then add a
<LinePath />
after the<AreaClosed />
to render the line on top of the area.