Skip to content

Commit b385255

Browse files
committed
Less label values
1 parent e55eb86 commit b385255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/kotlin/info/appdev/chartexample/TimeBarActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ class TimeBarActivity : DemoBase(), OnSeekBarChangeListener {
7676
binding.chart1.axisRight.apply {
7777
typeface = tfLight
7878
isDrawAxisLine = true
79-
axisMaxLabels = 5
79+
axisMaxLabels = 4
8080
isDrawGridLines = false
8181
axisMinimum = 0f // this replaces setStartAtZero(true)
82-
valueFormatter = UnixTimeRelative2NowAxisValueFormatter("HH:mm:ss")
82+
valueFormatter = UnixTimeRelative2NowAxisValueFormatter("mm:ss")
8383
}
8484

8585
binding.chart1.setFitBars(true)

0 commit comments

Comments
 (0)