Skip to content

How to apply gradient on the opposite side of the AreaChart line #4559

Answered by ckifer
nikmace asked this question in Q&A
Discussion options

You must be logged in to vote

Sure there is control, there is the baseValue prop

It defaults to 0, so normally anything under 0 will be filled above the line. Anything above 0 will be filled below the line.

If I change the baseValue then that becomes the new point it changes

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by nikmace
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ckifer
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
3 participants
Converted from issue

This discussion was converted from issue #4544 on May 20, 2024 21:41.