Skip to content

Instantly share code, notes, and snippets.

@alwold
Created August 7, 2014 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alwold/f7fc0ddd34ffd8c56de2 to your computer and use it in GitHub Desktop.
Save alwold/f7fc0ddd34ffd8c56de2 to your computer and use it in GitHub Desktop.
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