Remove unexpected dash line during linear animation

https://github.com/danielgindi/Charts/pull/4094
This commit is contained in:
Daniel Cohen Gindi 2020-01-23 11:19:07 +02:00
parent 0668d30a6b
commit 1de836ac65

View file

@ -326,7 +326,9 @@ public class LineChartRenderer extends LineRadarRenderer {
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;