Combination of core data and charts

I want to save the data in Core Data as an array and express it as a chart. Can data in Core Data be combined by date and expressed in a chart?

Combination of core data and charts
 
 
Q