I am currently working with the iOS Library Charts and have some issues to implement a TimeLine for the x Axis.
Library Link: https://github.com/danielgindi/Charts
I have a List of Objects as the Input for the Chart.
let objectList : [Object] = fillObjectList()
class Object {
var timeCreated : Date
var value : Double
}
I already implemented a solution where I just used the
timeCreated.timeIntervalsince1970
as the values for the x Axis. But this does not look so great.
So if some of you have some experience using iOS Charts Library, I hope you guys can think of a solution for this problem. Thanks a lot for your help in advance!