Skip to content

Background color for not filled bar #717

Closed Answered by Abhinandan-Kushwaha
carlosriveroib asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @carlosriveroib
This can be achieved using the showVerticalLines prop and setting the verticalLinesThickness equal to the bars' thickness.
The default bar thickness is 30, so you can set verticalLinesThickness={30}.

Next, you can make the verticalLines rounded using verticalLinesStrokeLinecap='round'
The verticalLinesStrokeLinecap is available prop from version 1.4.22 onwards.

Replies: 3 comments 3 replies

Comment options

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

Comment options

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

Answer selected by Abhinandan-Kushwaha
Comment options

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

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