fixed LineChartRenderer to get correct x values when using cubicFill
This commit is contained in:
parent
5daa6dc23c
commit
cc971a7d02
1 changed files with 2 additions and 2 deletions
|
@ -252,8 +252,8 @@ public class LineChartRenderer extends LineRadarRenderer {
|
|||
float fillMin = dataSet.getFillFormatter()
|
||||
.getFillLinePosition(dataSet, mChart);
|
||||
|
||||
spline.lineTo(bounds.min + bounds.range, fillMin);
|
||||
spline.lineTo(bounds.min, fillMin);
|
||||
spline.lineTo(dataSet.getEntryForIndex(mXBounds.max).getX(), fillMin);
|
||||
spline.lineTo(dataSet.getEntryForIndex(mXBounds.min).getX(), fillMin);
|
||||
spline.close();
|
||||
|
||||
trans.pathValueToPixel(spline);
|
||||
|
|
Loading…
Add table
Reference in a new issue