Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added example for vertical bar columns

  • Loading branch information...
commit 5e03c8e76eca2005f3ca47b2762e33eaacb0a91f 1 parent ef30316
@toamitkumar authored
Showing with 34,425 additions and 2,112 deletions.
  1. +1 −1  Gemfile
  2. +2 −28 examples/BarChart/app/home_view_controller.rb
  3. +2,083 −2,083 examples/BarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  4. +10 −0 examples/InteractiveCurve/app/home_view_controller.rb
  5. +16 −0 examples/VerticalBarChart/.gitignore
  6. +4 −0 examples/VerticalBarChart/Gemfile
  7. +14 −0 examples/VerticalBarChart/Rakefile
  8. +11 −0 examples/VerticalBarChart/app/app_delegate.rb
  9. +83 −0 examples/VerticalBarChart/app/home_view_controller.rb
  10. BIN  examples/VerticalBarChart/resources/Default-568h@2x.png
  11. +9 −0 examples/VerticalBarChart/spec/main_spec.rb
  12. +11 −0 examples/VerticalBarChart/vendor/Podfile.lock
  13. BIN  examples/VerticalBarChart/vendor/Pods/.build/libPods.a
  14. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotation.h
  15. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotationHostLayer.h
  16. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxis.h
  17. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabel.h
  18. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabelGroup.h
  19. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisSet.h
  20. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisTitle.h
  21. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTBarPlot.h
  22. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTBorderedLayer.h
  23. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTCalendarFormatter.h
  24. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTColor.h
  25. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTColorSpace.h
  26. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTConstraints.h
  27. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTDefinitions.h
  28. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTDerivedXYGraph.h
  29. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTExceptions.h
  30. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTFill.h
  31. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGradient.h
  32. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGraph.h
  33. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGraphHostingView.h
  34. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGridLineGroup.h
  35. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGridLines.h
  36. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTImage.h
  37. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLayer.h
  38. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLayerAnnotation.h
  39. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLegend.h
  40. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLegendEntry.h
  41. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLimitBand.h
  42. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLineCap.h
  43. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLineStyle.h
  44. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableLineStyle.h
  45. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData+TypeConversion.h
  46. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData.h
  47. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutablePlotRange.h
  48. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableShadow.h
  49. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableTextStyle.h
  50. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData+TypeConversion.h
  51. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData.h
  52. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericDataType.h
  53. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPathExtensions.h
  54. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPieChart.h
  55. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificCategories.h
  56. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificDefines.h
  57. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificFunctions.h
  58. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlot.h
  59. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotArea.h
  60. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotAreaFrame.h
  61. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotGroup.h
  62. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotRange.h
  63. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpace.h
  64. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpaceAnnotation.h
  65. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSymbol.h
  66. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTRangePlot.h
  67. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTResponder.h
  68. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTScatterPlot.h
  69. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTShadow.h
  70. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextLayer.h
  71. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextStyle.h
  72. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextStylePlatformSpecific.h
  73. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTheme.h
  74. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTimeFormatter.h
  75. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTradingRangePlot.h
  76. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTUtilities.h
  77. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxis.h
  78. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxisSet.h
  79. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYGraph.h
  80. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYPlotSpace.h
  81. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CorePlot-CocoaTouch.h
  82. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSCoderExtensions.h
  83. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSDecimalNumberExtensions.h
  84. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSNumberExtensions.h
  85. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTBorderLayer.h
  86. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsFixed.h
  87. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsRelative.h
  88. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTDarkGradientTheme.h
  89. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillColor.h
  90. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillGradient.h
  91. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillImage.h
  92. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTMaskLayer.h
  93. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainBlackTheme.h
  94. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainWhiteTheme.h
  95. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTSlateTheme.h
  96. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTStocksTheme.h
  97. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTXYTheme.h
  98. +1 −0  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/mainpage.h
  99. +9 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/License.txt
  100. +42 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/READMEs/README for Docs Install.rtf
  101. +32 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/READMEs/README for Static Library Install.rtf
  102. +61 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/CorePlot-CocoaTouch.h
  103. +62 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/CorePlot.h
  104. +37 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.h
  105. +192 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAnnotation.m
  106. +19 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.h
  107. +173 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAnnotationHostLayer.m
  108. +267 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxis.h
  109. +2,471 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxis.m
  110. +34 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabel.h
  111. +342 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabel.m
  112. +7 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelGroup.h
  113. +39 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelGroup.m
  114. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelTests.h
  115. +147 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisLabelTests.m
  116. +33 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisSet.h
  117. +183 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisSet.m
  118. +7 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisTitle.h
  119. +90 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTAxisTitle.m
  120. +185 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTBarPlot.h
  121. +1,530 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTBarPlot.m
  122. +30 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTBorderedLayer.h
  123. +460 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTBorderedLayer.m
  124. +21 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTCalendarFormatter.h
  125. +257 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTCalendarFormatter.m
  126. +42 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColor.h
  127. +460 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColor.m
  128. +21 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorSpace.h
  129. +126 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorSpace.m
  130. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorSpaceTests.h
  131. +24 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorSpaceTests.m
  132. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorTests.h
  133. +18 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTColorTests.m
  134. +38 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTConstraints.h
  135. +171 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTConstraints.m
  136. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDarkGradientThemeTests.h
  137. +37 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDarkGradientThemeTests.m
  138. +28 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDataSourceTestCase.h
  139. +139 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDataSourceTestCase.m
  140. +190 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDefinitions.h
  141. +1 −0  examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDefinitions.m
  142. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDerivedXYGraph.h
  143. +8 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTDerivedXYGraph.m
  144. +10 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTExceptions.h
  145. +5 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTExceptions.m
  146. +38 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTFill.h
  147. +159 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTFill.m
  148. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTFillTests.h
  149. +82 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTFillTests.m
  150. +100 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGradient.h
  151. +1,561 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGradient.m
  152. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGradientTests.h
  153. +18 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGradientTests.m
  154. +143 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGraph.h
  155. +1,088 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGraph.m
  156. +14 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGridLineGroup.h
  157. +132 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGridLineGroup.m
  158. +15 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGridLines.h
  159. +119 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTGridLines.m
  160. +36 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTImage.h
  161. +485 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTImage.m
  162. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTImageTests.h
  163. +32 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTImageTests.m
  164. +119 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLayer.h
  165. +952 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLayer.m
  166. +20 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLayerAnnotation.h
  167. +243 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLayerAnnotation.m
  168. +135 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLegend.h
  169. +1,098 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLegend.m
  170. +40 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLegendEntry.h
  171. +204 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLegendEntry.m
  172. +25 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLimitBand.h
  173. +125 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLimitBand.m
  174. +69 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineCap.h
  175. +595 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineCap.m
  176. +42 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineStyle.h
  177. +286 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineStyle.m
  178. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineStyleTests.h
  179. +24 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTLineStyleTests.m
  180. +18 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableLineStyle.h
  181. +55 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableLineStyle.m
  182. +23 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData+TypeConversion.h
  183. +123 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData+TypeConversion.m
  184. +18 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData.h
  185. +59 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericData.m
  186. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTests.h
  187. +276 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTests.m
  188. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTypeConversionTests.h
  189. +202 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableNumericDataTypeConversionTests.m
  190. +29 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutablePlotRange.h
  191. +160 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutablePlotRange.m
  192. +14 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableShadow.h
  193. +29 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableShadow.m
  194. +14 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableTextStyle.h
  195. +32 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTMutableTextStyle.m
  196. +23 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversion.h
  197. +2,326 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversion.m
  198. +148 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericData+TypeConversions_Generation.py
  199. +71 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericData.h
  200. +1,163 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericData.m
  201. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTests.h
  202. +344 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTests.m
  203. +54 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataType.h
  204. +277 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataType.m
  205. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionPerformanceTests.h
  206. +172 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionPerformanceTests.m
  207. +6 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionTests.h
  208. +323 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTNumericDataTypeConversionTests.m
  209. +15 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPathExtensions.h
  210. +42 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPathExtensions.m
  211. +190 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPieChart.h
  212. +1,318 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPieChart.m
  213. +340 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlot.h
  214. +1,851 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlot.m
  215. +56 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotArea.h
  216. +710 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotArea.m
  217. +16 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotAreaFrame.h
  218. +158 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotAreaFrame.m
  219. +15 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotGroup.h
  220. +75 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotGroup.m
  221. +67 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotRange.h
  222. +436 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotRange.m
  223. +11 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotRangeTests.h
  224. +420 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotRangeTests.m
  225. +170 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpace.h
  226. +331 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpace.m
  227. +16 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceAnnotation.h
  228. +164 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceAnnotation.m
  229. +11 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceTests.h
  230. +43 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSpaceTests.m
  231. +76 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSymbol.h
  232. +724 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTPlotSymbol.m
  233. +126 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTRangePlot.h
  234. +1,178 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTRangePlot.m
  235. +55 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTResponder.h
  236. +156 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTScatterPlot.h
  237. +1,230 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTScatterPlot.m
  238. +12 −0 examples/VerticalBarChart/vendor/Pods/CorePlot/framework/Source/CPTScatterPlotTests.h
Sorry, we could not display the entire diff because too many files (415) changed.
View
2  Gemfile
@@ -1,6 +1,6 @@
source 'https://rubygems.org'
-gem 'rake', '0.9.6'
+gem 'rake', '~> 0.9.6'
gem 'bubble-wrap'
gem 'cocoapods'
gem 'motion-cocoapods'
View
30 examples/BarChart/app/home_view_controller.rb
@@ -60,40 +60,14 @@ def add_chart
},
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
- ],
+ 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],
style: {
color: "173B0B",
width: 0.25
}
}, {
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
- ]
+ 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]
}]
}
View
4,166 examples/BarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
2,083 additions, 2,083 deletions not shown
View
10 examples/InteractiveCurve/app/home_view_controller.rb
@@ -51,8 +51,18 @@ def add_chart
legend: {
enabled: false
},
+ plot_options: {
+ line: {
+ data_size: 500,
+ beizer: true
+ }
+ },
series: [{
name: 'Tokyo',
+ data: [
+ {x: 2.0, y: 7.0},
+ {}
+ ]
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',
View
16 examples/VerticalBarChart/.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/VerticalBarChart/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
14 examples/VerticalBarChart/Rakefile
@@ -0,0 +1,14 @@
+# -*- 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 = 'VerticalBarChart'
+
+ app.device_family = :ipad
+ app.interface_orientations = [:landscape_left, :landscape_right]
+end
View
11 examples/VerticalBarChart/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
83 examples/VerticalBarChart/app/home_view_controller.rb
@@ -0,0 +1,83 @@
+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: 'FFFFFF',
+ font_name: "Arial"
+ },
+ theme: MotionPlot::Theme.plain_white,
+ xAxis: {
+ title: {
+ text: 'Months - 2013',
+ color: "FFFFFF",
+ font_name: "Arial",
+ offset: 30.0
+ },
+ enabled: true,
+ color: '808080',
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ style: {
+ color: "FFFFFF",
+ font_name: "Arial",
+ font_size: 12
+ }
+ },
+ data_label: {
+ color: "FFFFFF",
+ font_size: 12,
+ font_name: "Arial",
+ displacement: [0, 10]
+ },
+ yAxis: {
+ title: {
+ text: 'Temperature (°C)',
+ color: "FFFFFF",
+ font_name: "Arial",
+ offset: 30.0
+ },
+ style: {
+ color: "FFFFFF",
+ font_name: "Arial",
+ font_size: 12
+ },
+ enabled: true
+ },
+ legend: {
+ enabled: true
+ },
+ plot_options: {
+ bar: {
+ orientation: "vertical"
+ }
+ },
+ 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],
+ style: {
+ color: "173B0B",
+ width: 0.25
+ }
+ }, {
+ 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]
+ }]
+ }
+
+ view = MotionPlot::Bar.alloc.initWithOptions(options, containerView:@chart_view)
+ @chart_view.addSubview(view)
+ end
+
+end
View
BIN  examples/VerticalBarChart/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/VerticalBarChart/spec/main_spec.rb
@@ -0,0 +1,9 @@
+describe "Application 'HorizontalBarChart'" do
+ before do
+ @app = UIApplication.sharedApplication
+ end
+
+ it "has one window" do
+ @app.windows.size.should == 1
+ end
+end
View
11 examples/VerticalBarChart/vendor/Podfile.lock
@@ -0,0 +1,11 @@
+
+PODS:
+- CorePlot (1.1)
+
+DEPENDENCIES:
+- CorePlot
+
+SPEC CHECKSUMS:
+ CorePlot: f23c33720e470d17d8e4aae4a08e4deb184bef56
+
+COCOAPODS: 0.16.2
View
BIN  examples/VerticalBarChart/vendor/Pods/.build/libPods.a
Binary file not shown
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotation.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAnnotationHostLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxis.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabel.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisLabelGroup.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisSet.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTAxisTitle.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTBarPlot.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTBorderedLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTCalendarFormatter.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTColor.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTColorSpace.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTConstraints.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTDefinitions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTDerivedXYGraph.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTExceptions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTFill.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGradient.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGraph.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGraphHostingView.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGridLineGroup.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTGridLines.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTImage.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLayerAnnotation.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLegend.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLegendEntry.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLimitBand.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLineCap.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTLineStyle.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableLineStyle.h
View
1  ...VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData+TypeConversion.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableNumericData.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutablePlotRange.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableShadow.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTMutableTextStyle.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData+TypeConversion.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericData.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTNumericDataType.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPathExtensions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPieChart.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificCategories.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificDefines.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlatformSpecificFunctions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlot.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotArea.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotAreaFrame.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotGroup.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotRange.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpace.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSpaceAnnotation.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTPlotSymbol.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTRangePlot.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTResponder.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTScatterPlot.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTShadow.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextStyle.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTextStylePlatformSpecific.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTimeFormatter.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTTradingRangePlot.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTUtilities.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxis.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYAxisSet.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYGraph.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CPTXYPlotSpace.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/CorePlot-CocoaTouch.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSCoderExtensions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSDecimalNumberExtensions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/NSNumberExtensions.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTBorderLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsFixed.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTConstraintsRelative.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTDarkGradientTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillColor.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillGradient.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTFillImage.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTMaskLayer.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainBlackTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTPlainWhiteTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTSlateTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTStocksTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/_CPTXYTheme.h
View
1  examples/VerticalBarChart/vendor/Pods/BuildHeaders/CorePlot/mainpage.h
View
9 examples/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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/VerticalBarChart/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;
+
+/** @property CPTAxisTitle *axisTitle
+ * @brief The axis title.
+ * If @nil, no title is drawn.
+ **/
+@synthesize axisTitle;
+
+/** @property CGFloat titleOffset
+ * @brief The offset distance between the axis title and the axis line.
+ * @ingroup axisAnimation
+ **/
+@synthesize titleOffset;
+
+/** @property NSString *title
+ * @brief A convenience property for setting the text title of the axis.
+ **/
+@synthesize title;
+
+/** @property CGFloat titleRotation
+ * @brief The rotation angle of the axis title in radians.
+ * If @NAN (the default), the title will be parallel to the axis.
+ * @ingroup axisAnimation
+ **/
+@synthesize titleRotation;
+
+/** @property NSDecimal titleLocation
+ * @brief The position along the axis where the axis title should be centered.
+ * If @NAN (the default), the @ref defaultTitleLocation will be used.
+ **/
+@dynamic titleLocation;
+
+/** @property NSDecimal defaultTitleLocation
+ * @brief The position along the axis where the axis title should be centered
+ * if @ref titleLocation is @NAN.
+ **/
+@dynamic defaultTitleLocation;
+
+// Plot space
+
+/** @property CPTPlotSpace *plotSpace
+ * @brief The plot space for the axis.
+ **/
+@synthesize plotSpace;
+
+// Labels
+
+/** @property CPTAxisLabelingPolicy labelingPolicy
+ * @brief The axis labeling policy.
+ **/
+@synthesize labelingPolicy;
+
+/** @property CGFloat labelOffset
+ * @brief The offset distance between the tick marks and labels.
+ * @ingroup axisAnimation
+ **/
+@synthesize labelOffset;
+
+/** @property CGFloat minorTickLabelOffset
+ * @brief The offset distance between the minor tick marks and labels.
+ * @ingroup axisAnimation
+ **/
+@synthesize minorTickLabelOffset;
+
+/** @property CGFloat labelRotation
+ * @brief The rotation of the axis labels in radians.
+ * Set this property to @num{π/2} to have labels read up the screen, for example.
+ * @ingroup axisAnimation
+ **/
+@synthesize labelRotation;
+
+/** @property CGFloat minorTickLabelRotation
+ * @brief The rotation of the axis minor tick labels in radians.
+ * Set this property to @num{π/2} to have labels read up the screen, for example.
+ * @ingroup axisAnimation
+ **/
+@synthesize minorTickLabelRotation;
+
+/** @property CPTAlignment labelAlignment
+ * @brief The alignment of the axis label with respect to the tick mark.
+ **/
+@synthesize labelAlignment;
+
+/** @property CPTAlignment minorTickLabelAlignment
+ * @brief The alignment of the axis label with respect to the tick mark.
+ **/
+@synthesize minorTickLabelAlignment;
+
+/** @property CPTTextStyle *labelTextStyle
+ * @brief The text style used to draw the label text.
+ **/
+@synthesize labelTextStyle;
+
+/** @property CPTTextStyle *minorTickLabelTextStyle
+ * @brief The text style used to draw the label text of minor tick labels.
+ **/
+@synthesize minorTickLabelTextStyle;
+
+/** @property NSNumberFormatter *labelFormatter
+ * @brief The number formatter used to format the label text.
+ * If you need a non-numerical label, such as a date, you can use a formatter than turns
+ * the numerical plot coordinate into a string (e.g., @quote{Jan 10, 2010}).
+ * The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose.
+ **/
+@synthesize labelFormatter;
+
+/** @property NSNumberFormatter *minorTickLabelFormatter
+ * @brief The number formatter used to format the label text of minor ticks.
+ * If you need a non-numerical label, such as a date, you can use a formatter than turns
+ * the numerical plot coordinate into a string (e.g., @quote{Jan 10, 2010}).
+ * The CPTCalendarFormatter and CPTTimeFormatter classes are useful for this purpose.
+ **/
+@synthesize minorTickLabelFormatter;
+
+@synthesize labelFormatterChanged;
+@synthesize minorLabelFormatterChanged;
+
+/** @property NSSet *axisLabels
+ * @brief The set of axis labels.
+ **/
+@synthesize axisLabels;
+
+/** @property NSSet *minorTickAxisLabels
+ * @brief The set of minor tick axis labels.
+ **/
+@synthesize minorTickAxisLabels;
+
+/** @property BOOL needsRelabel
+ * @brief If @YES, the axis needs to be relabeled before the layer content is drawn.
+ **/
+@synthesize needsRelabel;
+
+/** @property NSArray *labelExclusionRanges
+ * @brief An array of CPTPlotRange objects. Any tick marks and labels falling inside any of the ranges in the array will not be drawn.
+ **/
+@synthesize labelExclusionRanges;
+
+/** @property CPTShadow *labelShadow
+ * @brief The shadow applied to each axis label.
+ **/
+@synthesize labelShadow;
+
+// Major ticks
+
+/** @property NSDecimal majorIntervalLength
+ * @brief The distance between major tick marks expressed in data coordinates.
+ **/
+@synthesize majorIntervalLength;
+
+/** @property CPTLineStyle *majorTickLineStyle
+ * @brief The line style for the major tick marks.
+ * If @nil, the major ticks are not drawn.
+ **/
+@synthesize majorTickLineStyle;
+
+/** @property CGFloat majorTickLength
+ * @brief The length of the major tick marks.
+ **/
+@synthesize majorTickLength;
+
+/** @property NSSet *majorTickLocations
+ * @brief A set of axis coordinates for all major tick marks.
+ **/
+@synthesize majorTickLocations;
+
+/** @property NSUInteger preferredNumberOfMajorTicks
+ * @brief The number of ticks that should be targeted when autogenerating positions.
+ * This property only applies when the #CPTAxisLabelingPolicyAutomatic or
+ * #CPTAxisLabelingPolicyEqualDivisions policies are in use.
+ * If zero (@num{0}) (the default), Core Plot will choose a reasonable number of ticks.
+ **/
+@synthesize preferredNumberOfMajorTicks;
+
+// Minor ticks
+
+/** @property NSUInteger minorTicksPerInterval
+ * @brief The number of minor tick marks drawn in each major tick interval.
+ **/
+@synthesize minorTicksPerInterval;
+
+/** @property CPTLineStyle *minorTickLineStyle
+ * @brief The line style for the minor tick marks.
+ * If @nil, the minor ticks are not drawn.
+ **/
+@synthesize minorTickLineStyle;
+
+/** @property CGFloat minorTickLength
+ * @brief The length of the minor tick marks.
+ **/
+@synthesize minorTickLength;
+
+/** @property NSSet *minorTickLocations
+ * @brief A set of axis coordinates for all minor tick marks.
+ **/
+@synthesize minorTickLocations;
+
+// Grid Lines
+
+/** @property CPTLineStyle *majorGridLineStyle
+ * @brief The line style for the major grid lines.
+ * If @nil, the major grid lines are not drawn.
+ **/
+@synthesize majorGridLineStyle;
+
+/** @property CPTLineStyle *minorGridLineStyle
+ * @brief The line style for the minor grid lines.
+ * If @nil, the minor grid lines are not drawn.
+ **/
+@synthesize minorGridLineStyle;
+
+/** @property CPTPlotRange *CPTPlotRange *gridLinesRange
+ * @brief The plot range over which the grid lines are visible.
+ * Note that this range applies to the orthogonal coordinate, not
+ * the axis coordinate itself.
+ * Set to @nil for no restriction.
+ **/
+@synthesize gridLinesRange;
+
+// Background Bands
+
+/** @property NSArray *alternatingBandFills
+ * @brief An array of two or more fills to be drawn between successive major tick marks.
+ *
+ * When initializing the fills, provide an NSArray containing any combinination of CPTFill,
+ * CPTColor, CPTGradient, and/or CPTImage objects. Blank (transparent) bands can be created
+ * by using an NSNull object in place of some of the CPTFill objects.
+ **/
+@synthesize alternatingBandFills;
+
+/** @property NSArray *backgroundLimitBands
+ * @brief An array of CPTLimitBand objects.
+ *
+ * The limit bands are drawn on top of the alternating band fills.
+ **/
+@dynamic backgroundLimitBands;
+
+@synthesize mutableBackgroundLimitBands;
+
+// Layers
+
+/** @property BOOL separateLayers
+ * @brief Use separate layers for drawing grid lines?
+ *
+ * If @NO, the default, the major and minor grid lines are drawn in layers shared with other axes.
+ * If @YES, the grid lines are drawn in their own layers.
+ **/
+@synthesize separateLayers;
+
+/** @property __cpt_weak CPTPlotArea *plotArea
+ * @brief The plot area that the axis belongs to.
+ **/
+@synthesize plotArea;
+
+/** @property __cpt_weak CPTGridLines *minorGridLines
+ * @brief The layer that draws the minor grid lines.
+ **/
+@synthesize minorGridLines;
+
+/** @property __cpt_weak CPTGridLines *majorGridLines
+ * @brief The layer that draws the major grid lines.
+ **/
+@synthesize majorGridLines;
+
+/** @property CPTAxisSet *axisSet
+ * @brief The axis set that the axis belongs to.
+ **/
+@dynamic axisSet;
+
+#pragma mark -
+#pragma mark Init/Dealloc
+
+/// @name Initialization
+/// @{
+
+/** @brief Initializes a newly allocated CPTAxis object with the provided frame rectangle.