Reuse index
This commit is contained in:
parent
8134d7f056
commit
fd3b71f780
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class LineChartRenderer extends LineRadarRenderer {
|
|||
|
||||
for (int j = mXBounds.min + 1; j <= mXBounds.range + mXBounds.min; j++) {
|
||||
|
||||
prev = dataSet.getEntryForIndex(j - 1);
|
||||
prev = cur;
|
||||
cur = dataSet.getEntryForIndex(j);
|
||||
|
||||
final float cpx = (prev.getX())
|
||||
|
|
Loading…
Add table
Reference in a new issue