We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19a77d1 + 1a97b4e commit 21f7317Copy full SHA for 21f7317
MPChartLib/src/main/java/com/github/mikephil/charting/renderer/LineChartRenderer.kt
@@ -172,7 +172,6 @@ open class LineChartRenderer(
172
// So in the starting `prev` and `cur`, go -2, -1
173
// And in the `lastIndex`, add +1
174
val firstIndex = xBounds.min + 1
175
- val lastIndex = xBounds.min + xBounds.range
176
177
var prevPrev: Entry?
178
var prev = dataSet.getEntryForIndex(max((firstIndex - 2).toDouble(), 0.0).toInt())
0 commit comments