Fix Drawable LineChart Fill Bug by giantramen · Pull Request #5284 · PhilJay/MPAndroidChart

The LineChart fill draws using intervals to avoid
memory issues, but with a larger data set and many
different (darker) colors Android does not draw the
drawable all the way to the edge of the interval.
This makes it look like there are spaces between the fill.
Draw a little beyond the existing interval so there are no gaps.

pushed a commit to AppDevNext/AndroidChart that referenced this pull request

Apr 2, 2022
The LineChart fill draws using intervals to avoid
memory issues, but with a larger data set and many
different (darker) colors Android does not draw the
drawable all the way to the edge of the interval.
This makes it look like there are spaces between the fill.
Draw a little beyond the existing interval so there are no gaps.

PhilJay#5284
Only do it for larger sets so we can still use opacity on smaller datasets.

@giantramen

@giantramen