|
|
|
@ -157,10 +157,12 @@ class GraphFragment : PokerAnalyticsFragment(), OnChartValueSelectedListener { |
|
|
|
barChart.data = barData |
|
|
|
barChart.data = barData |
|
|
|
|
|
|
|
|
|
|
|
dataSets.firstOrNull()?.let { |
|
|
|
dataSets.firstOrNull()?.let { |
|
|
|
|
|
|
|
if (it.entryCount > 0) { |
|
|
|
val entry = it.getEntryForIndex(0) |
|
|
|
val entry = it.getEntryForIndex(0) |
|
|
|
this.chartView?.highlightValue(entry.x, 0) |
|
|
|
this.chartView?.highlightValue(entry.x, 0) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.chartContainer.addView(this.chartView) |
|
|
|
this.chartContainer.addView(this.chartView) |
|
|
|
|
|
|
|
|
|
|
|
|