diff --git a/app/src/main/kotlin/info/appdev/chartexample/TimeLineActivity.kt b/app/src/main/kotlin/info/appdev/chartexample/TimeLineActivity.kt index efef1553c..07ed2bfc9 100644 --- a/app/src/main/kotlin/info/appdev/chartexample/TimeLineActivity.kt +++ b/app/src/main/kotlin/info/appdev/chartexample/TimeLineActivity.kt @@ -53,7 +53,7 @@ class TimeLineActivity : DemoBase() { position = XAxisPosition.BOTTOM typeface = tfLight labelRotationAngle = 45f - isDrawGridLines = false + isDrawGridLines = true // granularity = 1f // only intervals of 1 day labelCount = 7 valueFormatter = UnixTimeAxisValueFormatter("HH:mm:ss") @@ -61,7 +61,7 @@ class TimeLineActivity : DemoBase() { // if disabled, scaling can be done on x- and y-axis separately binding.chart1.isPinchZoom = false - + binding.chart1.setExtraOffsets(0f,0f,0f,24f) binding.chart1.legend.apply { isEnabled = false form = LegendForm.LINE diff --git a/screenshotsToCompare9/StartTest_smokeTestStart-45-TimeLineActivity-Timeline-1SampleClick.png b/screenshotsToCompare9/StartTest_smokeTestStart-45-TimeLineActivity-Timeline-1SampleClick.png index 384161b18..c303f300c 100644 Binary files a/screenshotsToCompare9/StartTest_smokeTestStart-45-TimeLineActivity-Timeline-1SampleClick.png and b/screenshotsToCompare9/StartTest_smokeTestStart-45-TimeLineActivity-Timeline-1SampleClick.png differ