diff --git a/app/src/main/java/me/zobrist/tichucounter/ui/counter/RoundGraphView.kt b/app/src/main/java/me/zobrist/tichucounter/ui/counter/RoundGraphView.kt index ebc6807..43d5a80 100644 --- a/app/src/main/java/me/zobrist/tichucounter/ui/counter/RoundGraphView.kt +++ b/app/src/main/java/me/zobrist/tichucounter/ui/counter/RoundGraphView.kt @@ -69,8 +69,8 @@ private fun getPoints(rounds: List): Pair, List sumA += round.scoreA sumB += round.scoreB - a.add(FloatEntry(index.toFloat(), sumA.toFloat())) - b.add(FloatEntry(index.toFloat(), sumB.toFloat())) + a.add(FloatEntry((index + 1).toFloat(), sumA.toFloat())) + b.add(FloatEntry((index + 1).toFloat(), sumB.toFloat())) } return Pair(a, b) }