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.
1 parent 2154a93 commit 328f851Copy full SHA for 328f851
WooCommerce/src/main/kotlin/com/woocommerce/android/ui/dashboard/stats/DashboardStatsView.kt
@@ -649,8 +649,7 @@ class DashboardStatsView @JvmOverloads constructor(
649
}
650
651
private fun generateLineDataSet(revenueStats: Map<String, Double>): LineDataSet {
652
- chartRevenueStats = revenueStats
653
- val entries = chartRevenueStats.values.mapIndexed { index, value ->
+ val entries = revenueStats.values.mapIndexed { index, value ->
654
Entry((index + 1).toFloat(), value.toFloat())
655
656
return LineDataSet(entries, "")
0 commit comments