diff --git a/app/src/main/kotlin/br/com/colman/petals/statistics/graph/AllTimeGraph.kt b/app/src/main/kotlin/br/com/colman/petals/statistics/graph/AllTimeGraph.kt index e2695919..71a42bc9 100644 --- a/app/src/main/kotlin/br/com/colman/petals/statistics/graph/AllTimeGraph.kt +++ b/app/src/main/kotlin/br/com/colman/petals/statistics/graph/AllTimeGraph.kt @@ -7,8 +7,6 @@ import br.com.colman.petals.statistics.graph.component.LineChart import br.com.colman.petals.statistics.graph.data.createAllTimeDistributionWithMovingAverage import br.com.colman.petals.statistics.graph.formatter.DaysSinceFirstUseFormatter import br.com.colman.petals.use.repository.Use -import com.github.mikephil.charting.components.LimitLine -import java.time.YearMonth @Composable fun AllTimeGraph(uses: List, dateFormat: String) { @@ -21,6 +19,5 @@ fun AllTimeGraph(uses: List, dateFormat: String) { labelCount = 5 granularity = 1f valueFormatter = DaysSinceFirstUseFormatter(uses, dateFormat).formatDate - } } diff --git a/app/src/main/kotlin/br/com/colman/petals/statistics/graph/data/DistributionPerDaySinceFirstUse.kt b/app/src/main/kotlin/br/com/colman/petals/statistics/graph/data/DistributionPerDaySinceFirstUse.kt index 71a40acf..43db89c3 100644 --- a/app/src/main/kotlin/br/com/colman/petals/statistics/graph/data/DistributionPerDaySinceFirstUse.kt +++ b/app/src/main/kotlin/br/com/colman/petals/statistics/graph/data/DistributionPerDaySinceFirstUse.kt @@ -51,7 +51,6 @@ fun createAllTimeAverageDataSet(entryList: List, label: String): LineData color = Color.Green.toArgb() mode = LineDataSet.Mode.CUBIC_BEZIER enableDashedLine(10f, 5f, 0f) - } }