Skip to content

How to get fillArea of AreaSeries to fill to baseline only and below top line #1489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Joecey opened this issue Apr 17, 2025 · 0 comments
Open

Comments

@Joecey
Copy link

Joecey commented Apr 17, 2025

I'm having an issue with using AreaSeries as shown in the graph below. I can't see any solution in the docs or online but, I was wondering if it is possible to have the grey filled area to only be below my data points and to fill all the way to my baseline of 0

Image

Code below for reference

<LineSeries
  data={comparisonLineSeriesData}
  yBaseValue={0}
  curve="curveBasis"
  color={palette.divider}
/>

<AreaSeries
  data={comparisonLineSeriesData}
  yBaseValue={0}
  curve="curveBasis"
  color={alpha(palette.divider, 0.05)}
 />

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant