Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unexpected dash line during linear animation
Browse files Browse the repository at this point in the history
danielgindi committed Jan 23, 2020

Unverified

No user is associated with the committer email.
1 parent 74f5cda commit a70efbe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit a70efbe

Please sign in to comment.