Merge pull request #2168 from Sin-Wave/master

Fixed Bug in LineChartRenderer
This commit is contained in:
Philipp Jahoda 2016-08-18 20:57:14 +02:00 committed by GitHub
commit 2b04973813

View file

@ -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(bounds.min + bounds.range).getX(), fillMin);
spline.lineTo(dataSet.getEntryForIndex(bounds.min).getX(), fillMin);
spline.close();
trans.pathValueToPixel(spline);