How to move date labels to the middle of the day ?
val xAxis = DateAxis(applicationContext).apply {
drawLabels = true
autoFitMarginalLabels = true
axisTitle = "X Date Axis"
axisAlignment = AxisAlignment.Bottom
drawMajorBands = false
drawMinorGridLines = false
drawMajorGridLines = true
}
- Artem Mkrtchyan asked 3 years ago
- You must login to post comments
Hi Artem,
I think that the best way to do this is to create custom TickProvider for axis and adjust algorithm that provides list of major/minor ticks to draw.
Best regards,
Yura
- Yura Khariton answered 3 years ago
- You must login to post comments
Please login first to submit.