Skip to content

Instantly share code, notes, and snippets.

@alwold
Created August 7, 2014 07:40
Embed
What would you like to do?
func numberOfRecordsForPlot(plot: CPTPlot!) -> UInt {
return 4
}
func numberForPlot(plot: CPTPlot!, field fieldEnum: UInt, recordIndex idx: UInt) -> NSNumber! {
return idx+1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment