Xcode and Firebase with Live charts/graphs

Hi all,

A quick question regarding Firebase and charts.

I have a database setup on Firebase that I can send pseudo-random numbers between 0 and 200 to every half second. I have a short Xcode project (<50 lines) that can observe the database, retrieve this data and output it in Xcode in realtime.

Using cocoapods charts, would it be possible to be able to display this data automatically in a line chart that can update in time with the data? Displaying the random number between 0 and 200 on the y-axis and the time stamp on the x-axis? I am only new to Xcode and have not seen much online about creating live charts. Is it possible? Or does the data have to be stored and loaded into Xcode pre-charting?