Using Core data with Core Plot
I want to create graph that uses data retrieved from Core Data. I have been trying to look for a simple tutorial that I can follow to get an understanding on how to do this, but I have had no luck.
Does anyone know any tutorials or can guide me on how can I start building my graph from Core Data?
Just read the data you need from Core Data, put them in the right format for Core Plot, and tell Core Plot to, well, plot.
For example, if you need to feed an array of numbers to numbersForPlot
, extract the series from your managed objects and pass that array to this method.
上一篇: 在android上捕捉视频的最大持续时间
下一篇: 核心数据与Core Plot一起使用