How to set String value of date time on xAxis BarChart MPAndroidChart
问题 I'm trying to show date time on X-Axis for my bar chart. I got this data from my UNIX timestamp firebase database. I have been trying to convert this UNIX timestamp to a human-readable date and then show this on my Axis. From what I know, BarEntry constructor doesn't support data type like String. So, I should use xAxis.setValueFormatter() to show the date. I have tried to use a formatter but it seems wrong like overlaps chart and the X-Axis showing incorrect results. Here is my formatter: