Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 510 files changed
  • 0 commit comments
  • 1 contributor
Showing with 36,675 additions and 4,369 deletions.
  1. BIN  .DS_Store
  2. BIN  examples/.DS_Store
  3. +13 −39 examples/ArearChart/app/home_view_controller.rb
  4. +2,196 −2,196 examples/ArearChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  5. +1 −0  examples/BarChart/README.md
  6. BIN  examples/BarChart/Screenshot.png
  7. +9 −9 examples/BarChart/app/home_view_controller.rb
  8. +2,125 −2,125 examples/BarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  9. +16 −0 examples/InteractiveCurve/.gitignore
  10. +4 −0 examples/InteractiveCurve/Gemfile
  11. +15 −0 examples/InteractiveCurve/Rakefile
  12. +11 −0 examples/InteractiveCurve/app/app_delegate.rb
  13. +84 −0 examples/InteractiveCurve/app/home_view_controller.rb
  14. BIN  examples/InteractiveCurve/resources/Default-568h@2x.png
  15. +9 −0 examples/InteractiveCurve/spec/main_spec.rb
  16. +11 −0 examples/InteractiveCurve/vendor/Podfile.lock
  17. BIN  examples/InteractiveCurve/vendor/Pods/.build/libPods.a
  18. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotation.h
  19. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotationHostLayer.h
  20. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxis.h
  21. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabel.h
  22. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabelGroup.h
  23. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisSet.h
  24. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisTitle.h
  25. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTBarPlot.h
  26. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTBorderedLayer.h
  27. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTCalendarFormatter.h
  28. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTColor.h
  29. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTColorSpace.h
  30. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTConstraints.h
  31. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTDefinitions.h
  32. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTDerivedXYGraph.h
  33. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTExceptions.h
  34. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTFill.h
  35. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGradient.h
  36. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGraph.h
  37. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGraphHostingView.h
  38. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGridLineGroup.h
  39. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGridLines.h
  40. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTImage.h
  41. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLayer.h
  42. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLayerAnnotation.h
  43. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLegend.h
  44. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLegendEntry.h
  45. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLimitBand.h
  46. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLineCap.h
  47. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLineStyle.h
  48. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableLineStyle.h
  49. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData+TypeConversion.h
  50. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData.h
  51. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutablePlotRange.h
  52. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableShadow.h
  53. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableTextStyle.h
  54. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData+TypeConversion.h
  55. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData.h
  56. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericDataType.h
  57. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPathExtensions.h
  58. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPieChart.h
  59. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificCategories.h
  60. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificDefines.h
  61. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificFunctions.h
  62. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlot.h
  63. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotArea.h
  64. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotAreaFrame.h
  65. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotGroup.h
  66. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotRange.h
  67. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpace.h
  68. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpaceAnnotation.h
  69. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSymbol.h
  70. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTRangePlot.h
  71. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTResponder.h
  72. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTScatterPlot.h
  73. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTShadow.h
  74. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextLayer.h
  75. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextStyle.h
  76. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextStylePlatformSpecific.h
  77. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTheme.h
  78. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTimeFormatter.h
  79. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTradingRangePlot.h
  80. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTUtilities.h
  81. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxis.h
  82. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxisSet.h
  83. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYGraph.h
  84. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYPlotSpace.h
  85. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CorePlot-CocoaTouch.h
  86. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSCoderExtensions.h
  87. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSDecimalNumberExtensions.h
  88. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSNumberExtensions.h
  89. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTBorderLayer.h
  90. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsFixed.h
  91. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsRelative.h
  92. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTDarkGradientTheme.h
  93. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillColor.h
  94. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillGradient.h
  95. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillImage.h
  96. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTMaskLayer.h
  97. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainBlackTheme.h
  98. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainWhiteTheme.h
  99. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTSlateTheme.h
  100. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTStocksTheme.h
  101. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTXYTheme.h
  102. +1 −0  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/mainpage.h
  103. +9 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/License.txt
  104. +42 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/READMEs/README for Docs Install.rtf
  105. +32 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/READMEs/README for Static Library Install.rtf
  106. +61 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/CorePlot-CocoaTouch.h
  107. +62 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/CorePlot.h
  108. +37 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.h
  109. +192 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.m
  110. +19 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.h
  111. +173 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.m
  112. +267 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxis.h
  113. +2,471 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxis.m
  114. +34 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabel.h
  115. +342 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabel.m
  116. +7 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelGroup.h
  117. +39 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelGroup.m
  118. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelTests.h
  119. +147 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelTests.m
  120. +33 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisSet.h
  121. +183 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisSet.m
  122. +7 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisTitle.h
  123. +90 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxisTitle.m
  124. +185 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTBarPlot.h
  125. +1,530 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTBarPlot.m
  126. +30 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTBorderedLayer.h
  127. +460 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTBorderedLayer.m
  128. +21 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTCalendarFormatter.h
  129. +257 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTCalendarFormatter.m
  130. +42 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColor.h
  131. +460 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColor.m
  132. +21 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorSpace.h
  133. +126 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorSpace.m
  134. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorSpaceTests.h
  135. +24 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorSpaceTests.m
  136. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorTests.h
  137. +18 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTColorTests.m
  138. +38 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTConstraints.h
  139. +171 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTConstraints.m
  140. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDarkGradientThemeTests.h
  141. +37 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDarkGradientThemeTests.m
  142. +28 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDataSourceTestCase.h
  143. +139 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDataSourceTestCase.m
  144. +190 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDefinitions.h
  145. +1 −0  examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDefinitions.m
  146. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDerivedXYGraph.h
  147. +8 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTDerivedXYGraph.m
  148. +10 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTExceptions.h
  149. +5 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTExceptions.m
  150. +38 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTFill.h
  151. +159 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTFill.m
  152. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTFillTests.h
  153. +82 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTFillTests.m
  154. +100 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGradient.h
  155. +1,561 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGradient.m
  156. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGradientTests.h
  157. +18 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGradientTests.m
  158. +143 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGraph.h
  159. +1,088 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGraph.m
  160. +14 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGridLineGroup.h
  161. +132 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGridLineGroup.m
  162. +15 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGridLines.h
  163. +119 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTGridLines.m
  164. +36 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTImage.h
  165. +485 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTImage.m
  166. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTImageTests.h
  167. +32 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTImageTests.m
  168. +119 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLayer.h
  169. +952 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLayer.m
  170. +20 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLayerAnnotation.h
  171. +243 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLayerAnnotation.m
  172. +135 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLegend.h
  173. +1,098 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLegend.m
  174. +40 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLegendEntry.h
  175. +204 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLegendEntry.m
  176. +25 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLimitBand.h
  177. +125 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLimitBand.m
  178. +69 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineCap.h
  179. +595 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineCap.m
  180. +42 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineStyle.h
  181. +286 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineStyle.m
  182. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineStyleTests.h
  183. +24 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTLineStyleTests.m
  184. +18 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableLineStyle.h
  185. +55 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableLineStyle.m
  186. +23 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData+TypeConversion.h
  187. +123 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData+TypeConversion.m
  188. +18 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData.h
  189. +59 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData.m
  190. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTests.h
  191. +276 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTests.m
  192. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTypeConversionTests.h
  193. +202 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTypeConversionTests.m
  194. +29 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutablePlotRange.h
  195. +160 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutablePlotRange.m
  196. +14 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableShadow.h
  197. +29 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableShadow.m
  198. +14 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableTextStyle.h
  199. +32 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTMutableTextStyle.m
  200. +23 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversion.h
  201. +2,326 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversion.m
  202. +148 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversions_Generation.py
  203. +71 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericData.h
  204. +1,163 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericData.m
  205. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTests.h
  206. +344 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTests.m
  207. +54 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataType.h
  208. +277 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataType.m
  209. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionPerformanceTests.h
  210. +172 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionPerformanceTests.m
  211. +6 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionTests.h
  212. +323 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionTests.m
  213. +15 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPathExtensions.h
  214. +42 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPathExtensions.m
  215. +190 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPieChart.h
  216. +1,318 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPieChart.m
  217. +340 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlot.h
  218. +1,851 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlot.m
  219. +56 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotArea.h
  220. +710 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotArea.m
  221. +16 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotAreaFrame.h
  222. +158 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotAreaFrame.m
  223. +15 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotGroup.h
  224. +75 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotGroup.m
  225. +67 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotRange.h
  226. +436 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotRange.m
  227. +11 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotRangeTests.h
  228. +420 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotRangeTests.m
  229. +170 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpace.h
  230. +331 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpace.m
  231. +16 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceAnnotation.h
  232. +164 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceAnnotation.m
  233. +11 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceTests.h
  234. +43 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceTests.m
  235. +76 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSymbol.h
  236. +724 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTPlotSymbol.m
  237. +126 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTRangePlot.h
  238. +1,178 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTRangePlot.m
  239. +55 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTResponder.h
  240. +156 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTScatterPlot.h
  241. +1,230 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTScatterPlot.m
  242. +12 −0 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTScatterPlotTests.h
Sorry, we could not display the entire diff because too many files (510) changed.
View
BIN  .DS_Store
Binary file not shown
View
BIN  examples/.DS_Store
Binary file not shown
View
52 examples/ArearChart/app/home_view_controller.rb
@@ -15,7 +15,7 @@ def add_chart
options = {
title: {
text: "Monthly Average Temperature",
- color: '0000FF',
+ color: 'FFFFFF',
font_name: "Arial"
},
curve_inerpolation: true,
@@ -24,7 +24,7 @@ def add_chart
xAxis: {
title: {
text: 'Months - 2013',
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
offset: 30.0
},
@@ -32,9 +32,9 @@ def add_chart
color: '808080',
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
style: {
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
- font_size: 8
+ font_size: 10
}
},
plot_symbol: {
@@ -42,22 +42,22 @@ def add_chart
size: 8
},
data_label: {
- color: "0000FF",
- font_size: 8,
+ color: "FFFFFF",
+ font_size: 10,
font_name: "Arial",
displacement: [0, 10]
},
yAxis: {
title: {
text: 'Temperature (°C)',
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
offset: 30.0
},
style: {
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
- font_size: 8
+ font_size: 10
},
enabled: true
},
@@ -66,43 +66,17 @@ def add_chart
},
series: [{
name: 'Tokyo',
- data: [
- [7.0, 'Jan'],
- [6.9, 'Feb'],
- [9.5, 'Mar'],
- [14.5, 'Apr'],
- [18.2, 'May'],
- [21.5, 'Jun'],
- [25.2, 'Jul'],
- [26.5, 'Aug'],
- [23.3, 'Sep'],
- [18.3, 'Oct'],
- [13.9, 'Nov'],
- [9.6, 'Dec']
- ],
+ data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
color: "173B0B"
}, {
name: 'New York',
- data: [
- [-0.2, 'Jan'],
- [0.8, 'Feb'],
- [5.7, 'Mar'],
- [11.3, 'Apr'],
- [17.0, 'May'],
- [22.0, 'Jun'],
- [24.8, 'Jul'],
- [24.1, 'Aug'],
- [20.1, 'Sep'],
- [14.1, 'Oct'],
- [8.6, 'Nov'],
- [2.5, 'Dec']
- ]
+ data: [0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
}, {
name: 'Berlin',
- data: [[-0.9, 'Jan'], [0.6, 'Feb'], [3.5, 'Mar'], [8.4, 'Apr'], [13.5, 'May'], [17.0, 'Jun'], [18.6, 'Jul'], [17.9, 'Aug'], [14.3, 'Sep'], [9.0, 'Oct'], [3.9, 'Nov'], [1.0, 'Dec']]
+ data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
}, {
name: 'London',
- data: [[3.9, 'Jan'], [4.2, 'Feb'], [5.7, 'Mar'], [8.5, 'Apr'], [11.9, 'May'], [15.2, 'Jun'], [17.0, 'Jul'], [16.6, 'Aug'], [14.2, 'Sep'], [-10.3, 'Oct'], [0.1, 'Nov']]
+ data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3]
}]
}
View
4,392 examples/ArearChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
2,196 additions, 2,196 deletions not shown
View
1  examples/BarChart/README.md
@@ -0,0 +1 @@
+![Screenshot](https://raw.github.com/toamitkumar/motion-plot/master/examples/ArearChart/Screenshot.png)
View
BIN  examples/BarChart/Screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
18 examples/BarChart/app/home_view_controller.rb
@@ -15,14 +15,14 @@ def add_chart
options = {
title: {
text: "Monthly Average Temperature",
- color: '0000FF',
+ color: 'FFFFFF',
font_name: "Arial"
},
theme: MotionPlot::Theme.plain_white,
xAxis: {
title: {
text: 'Months - 2013',
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
offset: 30.0
},
@@ -30,28 +30,28 @@ def add_chart
color: '808080',
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
style: {
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
- font_size: 8
+ font_size: 12
}
},
data_label: {
- color: "0000FF",
- font_size: 8,
+ color: "FFFFFF",
+ font_size: 12,
font_name: "Arial",
displacement: [0, 10]
},
yAxis: {
title: {
text: 'Temperature (°C)',
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
offset: 30.0
},
style: {
- color: "0000FF",
+ color: "FFFFFF",
font_name: "Arial",
- font_size: 8
+ font_size: 12
},
enabled: true
},
View
4,250 examples/BarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
2,125 additions, 2,125 deletions not shown
View
16 examples/InteractiveCurve/.gitignore
@@ -0,0 +1,16 @@
+.repl_history
+build
+tags
+app/pixate_code.rb
+resources/*.nib
+resources/*.momd
+resources/*.storyboardc
+.DS_Store
+nbproject
+.redcar
+#*#
+*~
+*.sw[po]
+.eprj
+.sass-cache
+.idea
View
4 examples/InteractiveCurve/Gemfile
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+gem 'rake', '~> 0.9.6' # motion-cocoapods fails to work with 10.0.2
+gem 'motion-plot'
View
15 examples/InteractiveCurve/Rakefile
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+$:.unshift("/Library/RubyMotion/lib")
+require 'motion/project'
+
+require "bundler"
+Bundler.require :default
+
+
+Motion::Project::App.setup do |app|
+ # Use `rake config' to see complete project settings.
+ app.name = 'InteractiveCurve'
+
+ app.device_family = :ipad
+ app.interface_orientations = [:landscape_left, :landscape_right]
+end
View
11 examples/InteractiveCurve/app/app_delegate.rb
@@ -0,0 +1,11 @@
+class AppDelegate
+ def application(application, didFinishLaunchingWithOptions:launchOptions)
+
+ @window = UIWindow.alloc.initWithFrame(UIScreen.mainScreen.bounds)
+
+ @window.rootViewController = HomeViewController.alloc.init
+ @window.makeKeyAndVisible
+
+ true
+ end
+end
View
84 examples/InteractiveCurve/app/home_view_controller.rb
@@ -0,0 +1,84 @@
+class HomeViewController < UIViewController
+
+ def viewDidLoad
+ super
+ @chart_view = UIView.alloc.initWithFrame([[10, 10], [900, 700]])
+ @chart_view.backgroundColor = UIColor.whiteColor
+
+ add_chart
+
+ self.view.addSubview(@chart_view)
+ end
+
+ def add_chart
+
+ options = {
+ title: {
+ text: "Monthly Average Temperature",
+ color: '0000FF',
+ font_name: "Arial"
+ },
+ curve_inerpolation: true,
+ theme: MotionPlot::Theme.dark_gradient,
+ xAxis: {
+ title: {
+ text: 'Months - 2013',
+ color: "0000FF",
+ font_name: "Arial",
+ offset: 30.0
+ },
+ enabled: true,
+ color: '808080',
+ },
+ data_label: {
+ color: "0000FF",
+ font_size: 8,
+ font_name: "Arial",
+ displacement: [0, 10]
+ },
+ yAxis: {
+ title: {
+ text: 'Temperature (°C)',
+ color: "0000FF",
+ font_name: "Arial",
+ offset: 30.0
+ },
+ enabled: true
+ },
+ plot_symbol: {
+ enabled: true
+ },
+ legend: {
+ enabled: false
+ },
+ series: [{
+ name: 'Tokyo',
+ data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
+ }, {
+ name: 'New York',
+ data: [0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
+ }, {
+ name: 'Berlin',
+ data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
+ }, {
+ name: 'London',
+ data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3]
+ }, {
+ name: "Static_1",
+ data: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
+ plot_symbol: {
+ type: 'pentagon',
+ size: 8
+ }
+ }, {
+ name: "Static_1",
+ data: [4]
+ }]
+ }
+
+ view = MotionPlot::Line.alloc.initWithOptions(options, containerView:@chart_view)
+ @chart_view.addSubview(view)
+
+ end
+
+end
View
BIN  examples/InteractiveCurve/resources/Default-568h@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
9 examples/InteractiveCurve/spec/main_spec.rb
@@ -0,0 +1,9 @@
+describe "Application 'InteractiveCurve'" do
+ before do
+ @app = UIApplication.sharedApplication
+ end
+
+ it "has one window" do
+ @app.windows.size.should == 1
+ end
+end
View
11 examples/InteractiveCurve/vendor/Podfile.lock
@@ -0,0 +1,11 @@
+
+PODS:
+- CorePlot (1.1)
+
+DEPENDENCIES:
+- CorePlot
+
+SPEC CHECKSUMS:
+ CorePlot: f23c33720e470d17d8e4aae4a08e4deb184bef56
+
+COCOAPODS: 0.16.1
View
BIN  examples/InteractiveCurve/vendor/Pods/.build/libPods.a
Binary file not shown
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotation.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotationHostLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxis.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabel.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabelGroup.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisSet.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTAxisTitle.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTBarPlot.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTBorderedLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTCalendarFormatter.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTColor.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTColorSpace.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTConstraints.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTDefinitions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTDerivedXYGraph.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTExceptions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTFill.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGradient.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGraph.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGraphHostingView.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGridLineGroup.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTGridLines.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTImage.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLayerAnnotation.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLegend.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLegendEntry.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLimitBand.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLineCap.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTLineStyle.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableLineStyle.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData+TypeConversion.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutablePlotRange.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableShadow.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTMutableTextStyle.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData+TypeConversion.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTNumericDataType.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPathExtensions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPieChart.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificCategories.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificDefines.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificFunctions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlot.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotArea.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotAreaFrame.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotGroup.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotRange.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpace.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpaceAnnotation.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSymbol.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTRangePlot.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTResponder.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTScatterPlot.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTShadow.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextStyle.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTextStylePlatformSpecific.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTimeFormatter.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTTradingRangePlot.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTUtilities.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxis.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxisSet.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYGraph.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CPTXYPlotSpace.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/CorePlot-CocoaTouch.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSCoderExtensions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSDecimalNumberExtensions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/NSNumberExtensions.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTBorderLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsFixed.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsRelative.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTDarkGradientTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillColor.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillGradient.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTFillImage.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTMaskLayer.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainBlackTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainWhiteTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTSlateTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTStocksTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/_CPTXYTheme.h
View
1  examples/InteractiveCurve/vendor/Pods/BuildHeaders/CorePlot/mainpage.h
View
9 examples/InteractiveCurve/vendor/Pods/CorePlot/License.txt
@@ -0,0 +1,9 @@
+Copyright (c) 2012, Drew McCormack, Brad Larson, Eric Skroch, Barry Wark, Dirkjan Krijnders, Rick Maddy, Vijay Kalusani, Caleb Cannon, Jeff Buck, Thomas Elstner, Jeroen Leenarts, Craig Hockenberry, Hartwig Wiesmann, Koen van der Drift.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+Neither the name of the Core Plot Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
42 examples/InteractiveCurve/vendor/Pods/CorePlot/READMEs/README for Docs Install.rtf
@@ -0,0 +1,42 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\margl1440\margr1440\vieww17480\viewh10900\viewkind0
+\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
+
+\f0\fs36 \cf0 To Install Documentation From a Release Package
+\fs24 \
+\
+1. Quit Xcode.\
+\
+2. Copy the
+\b com.CorePlot.Framework.docset
+\b0 and/or
+\b com.CorePlotTouch.Framework.docset
+\b0 bundles from the release
+\b Documentation
+\b0 folder into
+\b ~/Library/Developer/Shared/Documentation/DocSets/
+\b0 .\
+\
+3. Launch Xcode and browse the Core Plot documentation in the Documentation browser.\
+\
+
+\fs36 To Build the Documentation From Source
+\fs24 \
+\
+1. Install Doxygen ({\field{\*\fldinst{HYPERLINK "http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc"}}{\fldrslt http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc}}) in
+\b /Applications
+\b0 . Core Plot works best with Doxygen 1.7.4 or later.\
+\
+2. Install Graphviz ({\field{\*\fldinst{HYPERLINK "http://www.graphviz.org/Download_macos.php"}}{\fldrslt http://www.graphviz.org/Download_macos.php}}). Core Plot works best with Graphviz 2.28.0 or later.\
+\
+3. Open the
+\b CorePlot
+\b0 or
+\b CorePlot-CocoaTouch
+\b0 project in Xcode.\
+\
+4. Build the
+\b Documentation
+\b0 target.}
View
32 examples/InteractiveCurve/vendor/Pods/CorePlot/READMEs/README for Static Library Install.rtf
@@ -0,0 +1,32 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1138
+{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 Courier;}
+{\colortbl;\red255\green255\blue255;}
+\paperw12240\paperh15840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
+\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural
+
+\f0\fs36 \cf0 Install Binaries for iOS
+\fs24 \
+\
+1. Copy the
+\b CorePlotHeaders
+\b0 to your Xcode project\
+\
+2. Copy
+\b libCorePlotCocoaTouch.a
+\b0 to your Xcode project\
+\
+3. Add to
+\b Other Linker Flags
+\b0 in your target build settings:\
+\
+
+\f1 -ObjC -all_load
+\f0 \
+\
+4. Add the
+\b QuartzCore
+\b0 framework to the project.\
+\
+5. Add a
+\b CPTGraph
+\b0 to your application. See the example apps in Source Code to see how, or read the documentation.}
View
61 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/CorePlot-CocoaTouch.h
@@ -0,0 +1,61 @@
+#import "CPTAnnotation.h"
+#import "CPTAnnotationHostLayer.h"
+#import "CPTAxis.h"
+#import "CPTAxisLabel.h"
+#import "CPTAxisSet.h"
+#import "CPTAxisTitle.h"
+#import "CPTBarPlot.h"
+#import "CPTBorderedLayer.h"
+#import "CPTCalendarFormatter.h"
+#import "CPTColor.h"
+#import "CPTColorSpace.h"
+#import "CPTConstraints.h"
+#import "CPTDefinitions.h"
+#import "CPTExceptions.h"
+#import "CPTFill.h"
+#import "CPTGradient.h"
+#import "CPTGraph.h"
+#import "CPTGraphHostingView.h"
+#import "CPTImage.h"
+#import "CPTLayer.h"
+#import "CPTLayerAnnotation.h"
+#import "CPTLegend.h"
+#import "CPTLegendEntry.h"
+#import "CPTLimitBand.h"
+#import "CPTLineCap.h"
+#import "CPTLineStyle.h"
+#import "CPTMutableLineStyle.h"
+#import "CPTMutableNumericData.h"
+#import "CPTMutableNumericData+TypeConversion.h"
+#import "CPTMutablePlotRange.h"
+#import "CPTMutableShadow.h"
+#import "CPTMutableTextStyle.h"
+#import "CPTNumericData.h"
+#import "CPTNumericData+TypeConversion.h"
+#import "CPTNumericDataType.h"
+#import "CPTPieChart.h"
+#import "CPTPlatformSpecificDefines.h"
+#import "CPTPlatformSpecificFunctions.h"
+#import "CPTPlatformSpecificCategories.h"
+#import "CPTPathExtensions.h"
+#import "CPTPlot.h"
+#import "CPTPlotArea.h"
+#import "CPTPlotAreaFrame.h"
+#import "CPTPlotRange.h"
+#import "CPTPlotSpace.h"
+#import "CPTPlotSpaceAnnotation.h"
+#import "CPTPlotSymbol.h"
+#import "CPTRangePlot.h"
+#import "CPTResponder.h"
+#import "CPTScatterPlot.h"
+#import "CPTShadow.h"
+#import "CPTTextLayer.h"
+#import "CPTTextStyle.h"
+#import "CPTTheme.h"
+#import "CPTTimeFormatter.h"
+#import "CPTTradingRangePlot.h"
+#import "CPTUtilities.h"
+#import "CPTXYAxis.h"
+#import "CPTXYAxisSet.h"
+#import "CPTXYGraph.h"
+#import "CPTXYPlotSpace.h"
View
62 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/CorePlot.h
@@ -0,0 +1,62 @@
+#import <CorePlot/CPTAnnotation.h>
+#import <CorePlot/CPTAnnotationHostLayer.h>
+#import <CorePlot/CPTAxis.h>
+#import <CorePlot/CPTAxisLabel.h>
+#import <CorePlot/CPTAxisSet.h>
+#import <CorePlot/CPTAxisTitle.h>
+#import <CorePlot/CPTBarPlot.h>
+#import <CorePlot/CPTBorderedLayer.h>
+#import <CorePlot/CPTCalendarFormatter.h>
+#import <CorePlot/CPTColor.h>
+#import <CorePlot/CPTColorSpace.h>
+#import <CorePlot/CPTConstraints.h>
+#import <CorePlot/CPTDecimalNumberValueTransformer.h>
+#import <CorePlot/CPTDefinitions.h>
+#import <CorePlot/CPTExceptions.h>
+#import <CorePlot/CPTFill.h>
+#import <CorePlot/CPTGradient.h>
+#import <CorePlot/CPTGraph.h>
+#import <CorePlot/CPTImage.h>
+#import <CorePlot/CPTLayer.h>
+#import <CorePlot/CPTLayerAnnotation.h>
+#import <CorePlot/CPTLegend.h>
+#import <CorePlot/CPTLegendEntry.h>
+#import <CorePlot/CPTLimitBand.h>
+#import <CorePlot/CPTLineCap.h>
+#import <CorePlot/CPTLineStyle.h>
+#import <CorePlot/CPTMutableLineStyle.h>
+#import <CorePlot/CPTMutableNumericData.h>
+#import <CorePlot/CPTMutableNumericData+TypeConversion.h>
+#import <CorePlot/CPTMutablePlotRange.h>
+#import <CorePlot/CPTMutableShadow.h>
+#import <CorePlot/CPTMutableTextStyle.h>
+#import <CorePlot/CPTNumericDataType.h>
+#import <CorePlot/CPTNumericData.h>
+#import <CorePlot/CPTNumericData+TypeConversion.h>
+#import <CorePlot/CPTPieChart.h>
+#import <CorePlot/CPTPlatformSpecificDefines.h>
+#import <CorePlot/CPTPlatformSpecificFunctions.h>
+#import <CorePlot/CPTPlatformSpecificCategories.h>
+#import <CorePlot/CPTPathExtensions.h>
+#import <CorePlot/CPTPlot.h>
+#import <CorePlot/CPTPlotArea.h>
+#import <CorePlot/CPTPlotAreaFrame.h>
+#import <CorePlot/CPTPlotRange.h>
+#import <CorePlot/CPTPlotSpace.h>
+#import <CorePlot/CPTPlotSpaceAnnotation.h>
+#import <CorePlot/CPTPlotSymbol.h>
+#import <CorePlot/CPTRangePlot.h>
+#import <CorePlot/CPTResponder.h>
+#import <CorePlot/CPTScatterPlot.h>
+#import <CorePlot/CPTShadow.h>
+#import <CorePlot/CPTTextLayer.h>
+#import <CorePlot/CPTTextStyle.h>
+#import <CorePlot/CPTTradingRangePlot.h>
+#import <CorePlot/CPTTheme.h>
+#import <CorePlot/CPTTimeFormatter.h>
+#import <CorePlot/CPTUtilities.h>
+#import <CorePlot/CPTXYAxis.h>
+#import <CorePlot/CPTXYAxisSet.h>
+#import <CorePlot/CPTXYGraph.h>
+#import <CorePlot/CPTXYPlotSpace.h>
+#import <CorePlot/CPTGraphHostingView.h>
View
37 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.h
@@ -0,0 +1,37 @@
+#import "CPTDefinitions.h"
+#import <Foundation/Foundation.h>
+#import <QuartzCore/QuartzCore.h>
+
+@class CPTAnnotationHostLayer;
+@class CPTLayer;
+
+@interface CPTAnnotation : NSObject<NSCoding> {
+ @private
+ __cpt_weak CPTAnnotationHostLayer *annotationHostLayer;
+ CPTLayer *contentLayer;
+ CGPoint contentAnchorPoint;
+ CGPoint displacement;
+ CGFloat rotation;
+}
+
+@property (nonatomic, readwrite, retain) CPTLayer *contentLayer;
+@property (nonatomic, readwrite, cpt_weak_property) __cpt_weak CPTAnnotationHostLayer *annotationHostLayer;
+@property (nonatomic, readwrite, assign) CGPoint contentAnchorPoint;
+@property (nonatomic, readwrite, assign) CGPoint displacement;
+@property (nonatomic, readwrite, assign) CGFloat rotation;
+
+@end
+
+#pragma mark -
+
+/** @category CPTAnnotation(AbstractMethods)
+ * @brief CPTAnnotation abstract methods—must be overridden by subclasses.
+ **/
+@interface CPTAnnotation(AbstractMethods)
+
+/// @name Layout
+/// @{
+-(void)positionContentLayer;
+/// @}
+
+@end
View
192 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.m
@@ -0,0 +1,192 @@
+#import "CPTAnnotation.h"
+
+#import "CPTAnnotationHostLayer.h"
+#import "CPTLayer.h"
+#import "NSCoderExtensions.h"
+
+/** @brief An annotation positions a content layer relative to some anchor point.
+ *
+ * Annotations can be used to add text or images that are anchored to a feature
+ * of a graph. For example, the graph title is an annotation anchored to the graph.
+ * The annotation content layer can be any CPTLayer.
+ **/
+@implementation CPTAnnotation
+
+/** @property CPTLayer *contentLayer
+ * @brief The annotation content.
+ **/
+@synthesize contentLayer;
+
+/** @property __cpt_weak CPTAnnotationHostLayer *annotationHostLayer
+ * @brief The host layer for the annotation content.
+ **/
+@synthesize annotationHostLayer;
+
+/** @property CGPoint displacement
+ * @brief The displacement from the layer anchor point.
+ **/
+@synthesize displacement;
+
+/** @property CGPoint contentAnchorPoint
+ * @brief The anchor point for the content layer.
+ **/
+@synthesize contentAnchorPoint;
+
+/** @property CGFloat rotation
+ * @brief The rotation of the label in radians.
+ **/
+@synthesize rotation;
+
+#pragma mark -
+#pragma mark Init/Dealloc
+
+/// @name Initialization
+/// @{
+
+/** @brief Initializes a newly allocated CPTAnnotation object.
+ *
+ * The initialized object will have the following properties:
+ * - @ref annotationHostLayer = @nil
+ * - @ref contentLayer = @nil
+ * - @ref displacement = (@num{0.0}, @num{0.0})
+ * - @ref contentAnchorPoint = (@num{0.5}, @num{0.5})
+ * - @ref rotation = @num{0.0}
+ *
+ * @return The initialized object.
+ **/
+-(id)init
+{
+ if ( (self = [super init]) ) {
+ annotationHostLayer = nil;
+ contentLayer = nil;
+ displacement = CGPointZero;
+ contentAnchorPoint = CPTPointMake(0.5, 0.5);
+ rotation = CPTFloat(0.0);
+ }
+ return self;
+}
+
+/// @}
+
+/// @cond
+
+-(void)dealloc
+{
+ [contentLayer release];
+ [super dealloc];
+}
+
+/// @endcond
+
+#pragma mark -
+#pragma mark NSCoding Methods
+
+/// @cond
+
+-(void)encodeWithCoder:(NSCoder *)coder
+{
+ [coder encodeConditionalObject:self.annotationHostLayer forKey:@"CPTAnnotation.annotationHostLayer"];
+ [coder encodeObject:self.contentLayer forKey:@"CPTAnnotation.contentLayer"];
+ [coder encodeCPTPoint:self.contentAnchorPoint forKey:@"CPTAnnotation.contentAnchorPoint"];
+ [coder encodeCPTPoint:self.displacement forKey:@"CPTAnnotation.displacement"];
+ [coder encodeCGFloat:self.rotation forKey:@"CPTAnnotation.rotation"];
+}
+
+-(id)initWithCoder:(NSCoder *)coder
+{
+ if ( (self = [super init]) ) {
+ annotationHostLayer = [coder decodeObjectForKey:@"CPTAnnotation.annotationHostLayer"];
+ contentLayer = [[coder decodeObjectForKey:@"CPTAnnotation.contentLayer"] retain];
+ contentAnchorPoint = [coder decodeCPTPointForKey:@"CPTAnnotation.contentAnchorPoint"];
+ displacement = [coder decodeCPTPointForKey:@"CPTAnnotation.displacement"];
+ rotation = [coder decodeCGFloatForKey:@"CPTAnnotation.rotation"];
+ }
+ return self;
+}
+
+/// @endcond
+
+#pragma mark -
+#pragma mark Description
+
+/// @cond
+
+-(NSString *)description
+{
+ return [NSString stringWithFormat:@"<%@ {%@}>", [super description], self.contentLayer];
+}
+
+/// @endcond
+
+#pragma mark -
+#pragma mark Accessors
+
+/// @cond
+
+-(void)setContentLayer:(CPTLayer *)newLayer
+{
+ if ( newLayer != contentLayer ) {
+ [contentLayer removeFromSuperlayer];
+ [contentLayer release];
+ contentLayer = [newLayer retain];
+ if ( contentLayer ) {
+ [annotationHostLayer addSublayer:contentLayer];
+ }
+ }
+}
+
+-(void)setAnnotationHostLayer:(CPTAnnotationHostLayer *)newLayer
+{
+ if ( newLayer != annotationHostLayer ) {
+ [contentLayer removeFromSuperlayer];
+ annotationHostLayer = newLayer;
+ if ( contentLayer ) {
+ [annotationHostLayer addSublayer:contentLayer];
+ }
+ }
+}
+
+-(void)setDisplacement:(CGPoint)newDisplacement
+{
+ if ( !CGPointEqualToPoint(newDisplacement, displacement) ) {
+ displacement = newDisplacement;
+ [[self.contentLayer superlayer] setNeedsLayout];
+ }
+}
+
+-(void)setContentAnchorPoint:(CGPoint)newAnchorPoint
+{
+ if ( !CGPointEqualToPoint(newAnchorPoint, contentAnchorPoint) ) {
+ contentAnchorPoint = newAnchorPoint;
+ [[self.contentLayer superlayer] setNeedsLayout];
+ }
+}
+
+-(void)setRotation:(CGFloat)newRotation
+{
+ if ( newRotation != rotation ) {
+ rotation = newRotation;
+ [[self.contentLayer superlayer] setNeedsLayout];
+ }
+}
+
+/// @endcond
+
+@end
+
+#pragma mark -
+#pragma mark Layout
+
+@implementation CPTAnnotation(AbstractMethods)
+
+/** @brief Positions the content layer relative to its reference anchor.
+ *
+ * This method must be overridden by subclasses. The default implementation
+ * does nothing.
+ **/
+-(void)positionContentLayer
+{
+ // Do nothing--implementation provided by subclasses
+}
+
+@end
View
19 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.h
@@ -0,0 +1,19 @@
+#import "CPTLayer.h"
+
+@class CPTAnnotation;
+
+@interface CPTAnnotationHostLayer : CPTLayer {
+ @private
+ NSMutableArray *mutableAnnotations;
+}
+
+@property (nonatomic, readonly, retain) NSArray *annotations;
+
+/// @name Annotations
+/// @{
+-(void)addAnnotation:(CPTAnnotation *)annotation;
+-(void)removeAnnotation:(CPTAnnotation *)annotation;
+-(void)removeAllAnnotations;
+/// @}
+
+@end
View
173 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.m
@@ -0,0 +1,173 @@
+#import "CPTAnnotationHostLayer.h"
+
+#import "CPTAnnotation.h"
+#import "CPTExceptions.h"
+
+/// @cond
+@interface CPTAnnotationHostLayer()
+
+@property (nonatomic, readwrite, retain) NSMutableArray *mutableAnnotations;
+
+@end
+
+/// @endcond
+
+#pragma mark -
+
+/** @brief A container layer for annotations.
+ *
+ * Annotations (CPTAnnotation) can be added to and removed from an annotation layer.
+ * The host layer automatically handles the annotation layout.
+ **/
+@implementation CPTAnnotationHostLayer
+
+/** @property NSArray *annotations
+ * @brief An array of annotations attached to this layer.
+ **/
+@dynamic annotations;
+
+@synthesize mutableAnnotations;
+
+#pragma mark -
+#pragma mark Init/Dealloc
+
+/// @name Initialization
+/// @{
+
+/** @brief Initializes a newly allocated CPTAnnotationHostLayer object with the provided frame rectangle.
+ *
+ * This is the designated initializer. The initialized layer will have an empty
+ * @ref annotations array.
+ *
+ * @param newFrame The frame rectangle.
+ * @return The initialized CPTAnnotationHostLayer object.
+ **/
+-(id)initWithFrame:(CGRect)newFrame
+{
+ if ( (self = [super initWithFrame:newFrame]) ) {
+ mutableAnnotations = [[NSMutableArray alloc] init];
+ }
+ return self;
+}
+
+/// @}
+
+/// @cond
+
+-(id)initWithLayer:(id)layer
+{
+ if ( (self = [super initWithLayer:layer]) ) {
+ CPTAnnotationHostLayer *theLayer = (CPTAnnotationHostLayer *)layer;
+
+ mutableAnnotations = [theLayer->mutableAnnotations retain];
+ }
+ return self;
+}
+
+-(void)dealloc
+{
+ [mutableAnnotations release];
+ [super dealloc];
+}
+
+/// @endcond
+
+#pragma mark -
+#pragma mark NSCoding Methods
+
+/// @cond
+
+-(void)encodeWithCoder:(NSCoder *)coder
+{
+ [super encodeWithCoder:coder];
+
+ [coder encodeObject:self.mutableAnnotations forKey:@"CPTAnnotationHostLayer.mutableAnnotations"];
+}
+
+-(id)initWithCoder:(NSCoder *)coder
+{
+ if ( (self = [super initWithCoder:coder]) ) {
+ mutableAnnotations = [[coder decodeObjectForKey:@"CPTAnnotationHostLayer.mutableAnnotations"] mutableCopy];
+ }
+ return self;
+}
+
+/// @endcond
+
+#pragma mark -
+#pragma mark Annotations
+
+-(NSArray *)annotations
+{
+ return [[self.mutableAnnotations copy] autorelease];
+}
+
+/**
+ * @brief Adds an annotation to the receiver.
+ **/
+-(void)addAnnotation:(CPTAnnotation *)annotation
+{
+ if ( annotation ) {
+ NSMutableArray *annotationArray = self.mutableAnnotations;
+ if ( ![annotationArray containsObject:annotation] ) {
+ [annotationArray addObject:annotation];
+ }
+ annotation.annotationHostLayer = self;
+ [annotation positionContentLayer];
+ }
+}
+
+/**
+ * @brief Removes an annotation from the receiver.
+ **/
+-(void)removeAnnotation:(CPTAnnotation *)annotation
+{
+ if ( [self.mutableAnnotations containsObject:annotation] ) {
+ annotation.annotationHostLayer = nil;
+ [self.mutableAnnotations removeObject:annotation];
+ }
+ else {
+ [NSException raise:CPTException format:@"Tried to remove CPTAnnotation from %@. Host layer was %@.", self, annotation.annotationHostLayer];
+ }
+}
+
+/**
+ * @brief Removes all annotations from the receiver.
+ **/
+-(void)removeAllAnnotations
+{
+ NSMutableArray *allAnnotations = self.mutableAnnotations;
+
+ for ( CPTAnnotation *annotation in allAnnotations ) {
+ annotation.annotationHostLayer = nil;
+ }
+ [allAnnotations removeAllObjects];
+}
+
+#pragma mark -
+#pragma mark Layout
+
+/// @cond
+
+-(NSSet *)sublayersExcludedFromAutomaticLayout
+{
+ NSMutableSet *layers = [NSMutableSet set];
+
+ for ( CPTAnnotation *annotation in self.mutableAnnotations ) {
+ CALayer *content = annotation.contentLayer;
+ if ( content ) {
+ [layers addObject:content];
+ }
+ }
+ return layers;
+}
+
+-(void)layoutSublayers
+{
+ [super layoutSublayers];
+ [self.mutableAnnotations makeObjectsPerformSelector:@selector(positionContentLayer)];
+}
+
+/// @endcond
+
+@end
View
267 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxis.h
@@ -0,0 +1,267 @@
+#import "CPTDefinitions.h"
+#import "CPTLayer.h"
+#import "CPTTextStyle.h"
+#import <Foundation/Foundation.h>
+
+/// @file
+
+@class CPTAxis;
+@class CPTAxisSet;
+@class CPTAxisTitle;
+@class CPTGridLines;
+@class CPTLimitBand;
+@class CPTLineCap;
+@class CPTLineStyle;
+@class CPTPlotSpace;
+@class CPTPlotRange;
+@class CPTPlotArea;
+@class CPTShadow;
+
+/**
+ * @brief Enumeration of labeling policies
+ **/
+typedef enum _CPTAxisLabelingPolicy {
+ CPTAxisLabelingPolicyNone, ///< No labels provided; user sets labels and tick locations.
+ CPTAxisLabelingPolicyLocationsProvided, ///< User sets tick locations; axis makes labels.
+ CPTAxisLabelingPolicyFixedInterval, ///< Fixed interval labeling policy.
+ CPTAxisLabelingPolicyAutomatic, ///< Automatic labeling policy.
+ CPTAxisLabelingPolicyEqualDivisions ///< Divide the plot range into equal parts.
+}
+CPTAxisLabelingPolicy;
+
+#pragma mark -
+
+/**
+ * @brief Axis labeling delegate.
+ **/
+@protocol CPTAxisDelegate<NSObject>
+
+@optional
+
+/// @name Labels
+/// @{
+
+/** @brief @optional Determines if the axis should relabel itself now.
+ * @param axis The axis.
+ * @return @YES if the axis should relabel now.
+ **/
+-(BOOL)axisShouldRelabel:(CPTAxis *)axis;
+
+/** @brief @optional The method is called after the axis is relabeled to allow the delegate to perform any
+ * necessary cleanup or further labeling actions.
+ * @param axis The axis.
+ **/
+-(void)axisDidRelabel:(CPTAxis *)axis;
+
+/** @brief @optional This method gives the delegate a chance to create custom labels for each tick.
+ * It can be used with any labeling policy. Returning @NO will cause the axis not
+ * to update the labels. It is then the delegate&rsquo;s responsiblity to do this.
+ * @param axis The axis.
+ * @param locations The locations of the major ticks.
+ * @return @YES if the axis class should proceed with automatic labeling.
+ **/
+-(BOOL)axis:(CPTAxis *)axis shouldUpdateAxisLabelsAtLocations:(NSSet *)locations;
+
+/** @brief @optional This method gives the delegate a chance to create custom labels for each minor tick.
+ * It can be used with any labeling policy. Returning @NO will cause the axis not
+ * to update the labels. It is then the delegate&rsquo;s responsiblity to do this.
+ * @param axis The axis.
+ * @param locations The locations of the minor ticks.
+ * @return @YES if the axis class should proceed with automatic labeling.
+ **/
+-(BOOL)axis:(CPTAxis *)axis shouldUpdateMinorAxisLabelsAtLocations:(NSSet *)locations;
+
+/// @}
+
+@end
+
+#pragma mark -
+
+@interface CPTAxis : CPTLayer {
+ @private
+ CPTCoordinate coordinate;
+ CPTPlotSpace *plotSpace;
+ NSSet *majorTickLocations;
+ NSSet *minorTickLocations;
+ CGFloat majorTickLength;
+ CGFloat minorTickLength;
+ CGFloat labelOffset;
+ CGFloat minorTickLabelOffset;
+ CGFloat labelRotation;
+ CGFloat minorTickLabelRotation;
+ CPTAlignment labelAlignment;
+ CPTAlignment minorTickLabelAlignment;
+ CPTLineStyle *axisLineStyle;
+ CPTLineStyle *majorTickLineStyle;
+ CPTLineStyle *minorTickLineStyle;
+ CPTLineStyle *majorGridLineStyle;
+ CPTLineStyle *minorGridLineStyle;
+ CPTLineCap *axisLineCapMin;
+ CPTLineCap *axisLineCapMax;
+ NSDecimal labelingOrigin;
+ NSDecimal majorIntervalLength;
+ NSUInteger minorTicksPerInterval;
+ NSUInteger preferredNumberOfMajorTicks;
+ CPTAxisLabelingPolicy labelingPolicy;
+ CPTTextStyle *labelTextStyle;
+ CPTTextStyle *minorTickLabelTextStyle;
+ CPTTextStyle *titleTextStyle;
+ NSNumberFormatter *labelFormatter;
+ NSNumberFormatter *minorTickLabelFormatter;
+ BOOL labelFormatterChanged;
+ BOOL minorLabelFormatterChanged;
+ NSSet *axisLabels;
+ NSSet *minorTickAxisLabels;
+ CPTAxisTitle *axisTitle;
+ NSString *title;
+ CGFloat titleOffset;
+ CGFloat titleRotation;
+ NSDecimal titleLocation;
+ CPTSign tickDirection;
+ BOOL needsRelabel;
+ NSArray *labelExclusionRanges;
+ CPTPlotRange *visibleRange;
+ CPTPlotRange *visibleAxisRange;
+ CPTPlotRange *gridLinesRange;
+ NSArray *alternatingBandFills;
+ NSMutableArray *mutableBackgroundLimitBands;
+ BOOL separateLayers;
+ CPTShadow *labelShadow;
+ __cpt_weak CPTPlotArea *plotArea;
+ __cpt_weak CPTGridLines *minorGridLines;
+ __cpt_weak CPTGridLines *majorGridLines;
+}
+
+/// @name Axis
+/// @{
+@property (nonatomic, readwrite, copy) CPTLineStyle *axisLineStyle;
+@property (nonatomic, readwrite, assign) CPTCoordinate coordinate;
+@property (nonatomic, readwrite, assign) NSDecimal labelingOrigin;
+@property (nonatomic, readwrite, assign) CPTSign tickDirection;
+@property (nonatomic, readwrite, copy) CPTPlotRange *visibleRange;
+@property (nonatomic, readwrite, copy) CPTPlotRange *visibleAxisRange;
+@property (nonatomic, readwrite, copy) CPTLineCap *axisLineCapMin;
+@property (nonatomic, readwrite, copy) CPTLineCap *axisLineCapMax;
+/// @}
+
+/// @name Title
+/// @{
+@property (nonatomic, readwrite, copy) CPTTextStyle *titleTextStyle;
+@property (nonatomic, readwrite, retain) CPTAxisTitle *axisTitle;
+@property (nonatomic, readwrite, assign) CGFloat titleOffset;
+@property (nonatomic, readwrite, copy) NSString *title;
+@property (nonatomic, readwrite, assign) CGFloat titleRotation;
+@property (nonatomic, readwrite, assign) NSDecimal titleLocation;
+@property (nonatomic, readonly, assign) NSDecimal defaultTitleLocation;
+/// @}
+
+/// @name Labels
+/// @{
+@property (nonatomic, readwrite, assign) CPTAxisLabelingPolicy labelingPolicy;
+@property (nonatomic, readwrite, assign) CGFloat labelOffset;
+@property (nonatomic, readwrite, assign) CGFloat minorTickLabelOffset;
+@property (nonatomic, readwrite, assign) CGFloat labelRotation;
+@property (nonatomic, readwrite, assign) CGFloat minorTickLabelRotation;
+@property (nonatomic, readwrite, assign) CPTAlignment labelAlignment;
+@property (nonatomic, readwrite, assign) CPTAlignment minorTickLabelAlignment;
+@property (nonatomic, readwrite, copy) CPTTextStyle *labelTextStyle;
+@property (nonatomic, readwrite, copy) CPTTextStyle *minorTickLabelTextStyle;
+@property (nonatomic, readwrite, retain) NSNumberFormatter *labelFormatter;
+@property (nonatomic, readwrite, retain) NSNumberFormatter *minorTickLabelFormatter;
+@property (nonatomic, readwrite, retain) NSSet *axisLabels;
+@property (nonatomic, readwrite, retain) NSSet *minorTickAxisLabels;
+@property (nonatomic, readonly, assign) BOOL needsRelabel;
+@property (nonatomic, readwrite, retain) NSArray *labelExclusionRanges;
+@property (nonatomic, readwrite, retain) CPTShadow *labelShadow;
+/// @}
+
+/// @name Major Ticks
+/// @{
+@property (nonatomic, readwrite, assign) NSDecimal majorIntervalLength;
+@property (nonatomic, readwrite, assign) CGFloat majorTickLength;
+@property (nonatomic, readwrite, copy) CPTLineStyle *majorTickLineStyle;
+@property (nonatomic, readwrite, retain) NSSet *majorTickLocations;
+@property (nonatomic, readwrite, assign) NSUInteger preferredNumberOfMajorTicks;
+/// @}
+
+/// @name Minor Ticks
+/// @{
+@property (nonatomic, readwrite, assign) NSUInteger minorTicksPerInterval;
+@property (nonatomic, readwrite, assign) CGFloat minorTickLength;
+@property (nonatomic, readwrite, copy) CPTLineStyle *minorTickLineStyle;
+@property (nonatomic, readwrite, retain) NSSet *minorTickLocations;
+/// @}
+
+/// @name Grid Lines
+/// @{
+@property (nonatomic, readwrite, copy) CPTLineStyle *majorGridLineStyle;
+@property (nonatomic, readwrite, copy) CPTLineStyle *minorGridLineStyle;
+@property (nonatomic, readwrite, copy) CPTPlotRange *gridLinesRange;
+/// @}
+
+/// @name Background Bands
+/// @{
+@property (nonatomic, readwrite, copy) NSArray *alternatingBandFills;
+@property (nonatomic, readonly, retain) NSArray *backgroundLimitBands;
+/// @}
+
+/// @name Plot Space
+/// @{
+@property (nonatomic, readwrite, retain) CPTPlotSpace *plotSpace;
+/// @}
+
+/// @name Layers
+/// @{
+@property (nonatomic, readwrite, assign) BOOL separateLayers;
+@property (nonatomic, readwrite, cpt_weak_property) __cpt_weak CPTPlotArea *plotArea;
+@property (nonatomic, readonly, cpt_weak_property) __cpt_weak CPTGridLines *minorGridLines;
+@property (nonatomic, readonly, cpt_weak_property) __cpt_weak CPTGridLines *majorGridLines;
+@property (nonatomic, readonly, retain) CPTAxisSet *axisSet;
+/// @}
+
+/// @name Labels
+/// @{
+-(void)relabel;
+-(void)setNeedsRelabel;
+-(void)updateMajorTickLabels;
+-(void)updateMinorTickLabels;
+/// @}
+
+/// @name Ticks
+/// @{
+-(NSSet *)filteredMajorTickLocations:(NSSet *)allLocations;
+-(NSSet *)filteredMinorTickLocations:(NSSet *)allLocations;
+/// @}
+
+/// @name Background Bands
+/// @{
+-(void)addBackgroundLimitBand:(CPTLimitBand *)limitBand;
+-(void)removeBackgroundLimitBand:(CPTLimitBand *)limitBand;
+/// @}
+
+@end
+
+#pragma mark -
+
+/** @category CPTAxis(AbstractMethods)
+ * @brief CPTAxis abstract methods—must be overridden by subclasses
+ **/
+@interface CPTAxis(AbstractMethods)
+
+/// @name Coordinate Space Conversions
+/// @{
+-(CGPoint)viewPointForCoordinateDecimalNumber:(NSDecimal)coordinateDecimalNumber;
+/// @}
+
+/// @name Grid Lines
+/// @{
+-(void)drawGridLinesInContext:(CGContextRef)context isMajor:(BOOL)major;
+/// @}
+
+/// @name Background Bands
+/// @{
+-(void)drawBackgroundBandsInContext:(CGContextRef)context;
+-(void)drawBackgroundLimitsInContext:(CGContextRef)context;
+/// @}
+
+@end
View
2,471 examples/InteractiveCurve/vendor/Pods/CorePlot/framework/Source/CPTAxis.m
@@ -0,0 +1,2471 @@
+#import "CPTAxis.h"
+
+#import "CPTAxisLabel.h"
+#import "CPTAxisLabelGroup.h"
+#import "CPTAxisSet.h"
+#import "CPTAxisTitle.h"
+#import "CPTColor.h"
+#import "CPTExceptions.h"
+#import "CPTFill.h"
+#import "CPTGradient.h"
+#import "CPTGridLineGroup.h"
+#import "CPTGridLines.h"
+#import "CPTImage.h"
+#import "CPTLimitBand.h"
+#import "CPTLineCap.h"
+#import "CPTLineStyle.h"
+#import "CPTMutablePlotRange.h"
+#import "CPTPlatformSpecificCategories.h"
+#import "CPTPlotArea.h"
+#import "CPTPlotSpace.h"
+#import "CPTShadow.h"
+#import "CPTTextLayer.h"
+#import "CPTUtilities.h"
+#import "CPTUtilities.h"
+#import "NSCoderExtensions.h"
+#import "NSDecimalNumberExtensions.h"
+
+/** @defgroup axisAnimation Axes
+ * @brief Axis properties that can be animated using Core Animation.
+ * @if MacOnly
+ * @since Custom layer property animation is supported on MacOS 10.6 and later.
+ * @endif
+ * @ingroup animation
+ **/
+
+/// @cond
+
+@interface CPTAxis()
+
+@property (nonatomic, readwrite, assign) BOOL needsRelabel;
+@property (nonatomic, readwrite, assign) __cpt_weak CPTGridLines *minorGridLines;
+@property (nonatomic, readwrite, assign) __cpt_weak CPTGridLines *majorGridLines;
+@property (nonatomic, readwrite, assign) BOOL labelFormatterChanged;
+@property (nonatomic, readwrite, assign) BOOL minorLabelFormatterChanged;
+@property (nonatomic, readwrite, retain) NSMutableArray *mutableBackgroundLimitBands;
+
+-(void)generateFixedIntervalMajorTickLocations:(NSSet **)newMajorLocations minorTickLocations:(NSSet **)newMinorLocations;
+-(void)autoGenerateMajorTickLocations:(NSSet **)newMajorLocations minorTickLocations:(NSSet **)newMinorLocations;
+-(void)generateEqualMajorTickLocations:(NSSet **)newMajorLocations minorTickLocations:(NSSet **)newMinorLocations;
+-(NSSet *)filteredTickLocations:(NSSet *)allLocations;
+-(void)updateAxisLabelsAtLocations:(NSSet *)locations inRange:(CPTPlotRange *)labeledRange useMajorAxisLabels:(BOOL)useMajorAxisLabels;
+-(void)updateCustomTickLabels;
+
+double niceNum(double x, BOOL round);
+
+@end
+
+/// @endcond
+
+#pragma mark -
+
+/**
+ * @brief An abstract axis class.
+ *
+ * The figure below illustrates the relationship between the three plot range properties. If all are
+ * @nil, the axis and grid lines will extend the full width of the plot area.
+ * @image html "axis ranges.png" "Axis Ranges"
+ * @see See @ref axisAnimation "Axes" for a list of animatable properties.
+ **/
+@implementation CPTAxis
+
+// Axis
+
+/** @property CPTLineStyle *axisLineStyle
+ * @brief The line style for the axis line.
+ * If @nil, the line is not drawn.
+ **/
+@synthesize axisLineStyle;
+
+/** @property CPTCoordinate coordinate
+ * @brief The axis coordinate.
+ **/
+@synthesize coordinate;
+
+/** @property NSDecimal labelingOrigin
+ * @brief The origin used for axis labels.
+ * The default value is 0. It is only used when the axis labeling
+ * policy is #CPTAxisLabelingPolicyFixedInterval. The origin is
+ * a reference point used to being labeling. Labels are added
+ * at the origin, as well as at fixed intervals above and below
+ * the origin.
+ **/
+@synthesize labelingOrigin;
+
+/** @property CPTSign tickDirection
+ * @brief The tick direction.
+ * The direction is given as the sign that ticks extend along
+ * the axis (e.g., positive or negative).
+ **/
+@synthesize tickDirection;
+
+/** @property CPTPlotRange *visibleRange
+ * @brief The plot range over which the axis and ticks are visible.
+ * Use this to restrict an axis and its grid lines to less than the full plot area width.
+ * Use the @ref visibleAxisRange to specify a separate range for the axis line, if needed.
+ * Set to @nil for no restriction.
+ **/
+@synthesize visibleRange;
+
+/** @property CPTPlotRange *visibleAxisRange;
+ * @brief The plot range over which the axis itself is visible.
+ * Use this to restrict an axis line to less than the full plot area width. This range is independent
+ * of the @ref visibleRange and overrides it for the axis line and line cap.
+ * Set to @nil to use the @ref visibleRange instead.
+ **/
+@synthesize visibleAxisRange;
+
+/** @property CPTLineCap *axisLineCapMin
+ * @brief The line cap for the end of the axis line with the minimum value.
+ * @see axisLineCapMax
+ **/
+@synthesize axisLineCapMin;
+
+/** @property CPTLineCap *axisLineCapMax
+ * @brief The line cap for the end of the axis line with the maximum value.
+ * @see axisLineCapMin
+ **/
+@synthesize axisLineCapMax;
+
+// Title
+
+/** @property CPTTextStyle *titleTextStyle
+ * @brief The text style used to draw the axis title text.
+ **/
+@synthesize titleTextStyle;