Skip to content

Commit

Permalink
Remove unexpected dash line during linear animation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Jan 23, 2020
1 parent 0668d30 commit 1de836a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ protected void drawLinear(Canvas c, ILineDataSet dataSet) {
if (mLineBuffer.length <= pointsPerEntryPair * 2)
mLineBuffer = new float[pointsPerEntryPair * 4];

for (int j = mXBounds.min; j <= mXBounds.range + mXBounds.min; j++) {
int max = mXBounds.min + mXBounds.range;

for (int j = mXBounds.min; j < max; j++) {

Entry e = dataSet.getEntryForIndex(j);
if (e == null) continue;
Expand Down

0 comments on commit 1de836a

Please sign in to comment.