Skip to content

Commit 1a97b4e

Browse files
committed
Simplify
1 parent 19a77d1 commit 1a97b4e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

MPChartLib/src/main/java/com/github/mikephil/charting/renderer/LineChartRenderer.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ open class LineChartRenderer(
172172
// So in the starting `prev` and `cur`, go -2, -1
173173
// And in the `lastIndex`, add +1
174174
val firstIndex = xBounds.min + 1
175-
val lastIndex = xBounds.min + xBounds.range
176175

177176
var prevPrev: Entry?
178177
var prev = dataSet.getEntryForIndex(max((firstIndex - 2).toDouble(), 0.0).toInt())

0 commit comments

Comments
 (0)