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 f15c17a commit 1186f1a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,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 1186f1a

Please sign in to comment.