Hi, I wanted to ask if there is any way to fill the chart with a particular color between different line data sets.
I want to achieve chart like this

Using FillFormatter doesn't seem to work in this case as FillFormatter expects a definite Y value. I want to fill different colors between each line data set.
What I am getting is that all line data set fills color to Y=0 resulting in overlapping of colors at the bottom.
Just set the fill-alpha value to maximum (255) than the overlapping will not be noticed. Also make sure the order of your data is correct.
lineDataSet.setFillAlpha(255)
@PhilJay Would it be hard to implement support for StackedArea chart?
I'm asking because I need some transparency, so I cannot set alpha to 255. I would be willing to implement it. I'm just curious if there are some obstacles.
@PhilJay Or another way: would it be possible to draw line grid above the lines/areas?
+1
Most helpful comment
+1