I made a line graph using iOS Charts and for my xAxis all of my labels are dates, but because there are so many they overlap. What could I do to stop this? Is there also a way I could scale in on a certain part of the graph to do this?
Asked
Active
Viewed 314 times
-1
-
Are you using :https://github.com/danielgindi/Charts ? – Razi Tiwana Apr 09 '19 at 14:49
-
Yeah, that’s the one I’m using – Evan C Apr 09 '19 at 14:50
1 Answers
0
Try limiting the labelCount
var lineChart = LineChartView()
// Fix them to what ever number suitable
lineChart.xAxis.labelCount = 3

Razi Tiwana
- 1,425
- 2
- 13
- 16