Permalink
Browse files

Initial changes for interactive chart example, modular Bar chart and …

…version bump
  • Loading branch information...
1 parent 5e03c8e commit 9cc0b4083e45843fe49833cc1859ecb76a2879f2 @toamitkumar committed Mar 24, 2013
Showing with 15,150 additions and 15,117 deletions.
  1. +8 −5 README.md
  2. +1 −1 examples/BarChart/app/home_view_controller.rb
  3. +1 −1 examples/BarChart/vendor/Podfile.lock
  4. +4 −4 examples/BarChart/vendor/Pods/Pods-resources.sh
  5. +2,210 −2,210 examples/BarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  6. +14 −20 examples/InteractiveCurve/app/home_view_controller.rb
  7. +1 −1 examples/InteractiveCurve/vendor/Podfile.lock
  8. +4 −4 examples/InteractiveCurve/vendor/Pods/Pods-resources.sh
  9. +2,122 −2,122 examples/InteractiveCurve/vendor/Pods/Pods.xcodeproj/project.pbxproj
  10. +1 −1 examples/LineChart/vendor/Podfile.lock
  11. +4 −4 examples/LineChart/vendor/Pods/Pods-resources.sh
  12. +2,106 −2,106 examples/LineChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  13. +1 −1 examples/PercentStackedBarChart/vendor/Podfile.lock
  14. +4 −4 examples/PercentStackedBarChart/vendor/Pods/Pods-resources.sh
  15. +2,138 −2,138 examples/PercentStackedBarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  16. +1 −1 examples/PieChartExample/vendor/Podfile.lock
  17. +4 −4 examples/PieChartExample/vendor/Pods/Pods-resources.sh
  18. +2,141 −2,141 examples/PieChartExample/vendor/Pods/Pods.xcodeproj/project.pbxproj
  19. +2 −1 examples/StackedBarChart/app/home_view_controller.rb
  20. +1 −1 examples/StackedBarChart/vendor/Podfile.lock
  21. +4 −4 examples/StackedBarChart/vendor/Pods/Pods-resources.sh
  22. +2,136 −2,136 examples/StackedBarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  23. +2,144 −2,144 examples/VerticalBarChart/vendor/Pods/Pods.xcodeproj/project.pbxproj
  24. +2 −2 lib/motion-plot/chart/bar_plot.rb
  25. +1 −11 lib/motion-plot/chart/delegates/bar_delegate.rb
  26. +13 −0 lib/motion-plot/chart/delegates/base_delegate.rb
  27. +40 −0 lib/motion-plot/chart/delegates/beizer_curve_delegate.rb
  28. +26 −0 lib/motion-plot/chart/delegates/line_delegate.rb
  29. +2 −6 lib/motion-plot/chart/delegates/percent_bar_delegate.rb
  30. +2 −10 lib/motion-plot/chart/delegates/stack_bar_delegate.rb
  31. +9 −30 lib/motion-plot/chart/line_plot.rb
  32. +1 −0 lib/motion-plot/chart/pie_plot.rb
  33. +1 −3 lib/motion-plot/utilities/legend.rb
  34. +1 −1 lib/motion-plot/version.rb
View
@@ -1,22 +1,25 @@
# Motion::Plot
-Build native charts as you are used with Highcharts/D3. This library is a wrapper on top of [CorePlot](https://code.google.com/p/core-plot/), the iOS plotting framework to build native chart using CoreAnimation, Core Data and Cocoa Bindings
+Create native iOS charts using simple JSON as you are used-to with Highcharts like JS library.
+This library is a wrapper on top of [CorePlot](https://code.google.com/p/core-plot/), the iOS plotting framework to build native chart using CoreAnimation, Core Data and Cocoa Bindings
## Installation
-Add this line to your application's Gemfile:
+1. Add this line to your application's Gemfile:
`gem 'motion-plot'`
-And then execute:
+ And then execute:
$ bundle
-Or install it yourself as:
+ Or install it yourself as:
$ gem install motion-plot
-And add `require 'motion-plot'` to your `Gemfile`
+ And add `require 'motion-plot'` to your `Gemfile`
+
+2. Run 'pod setup' to install core-plot as pod on your local
## Usage
@@ -36,7 +36,7 @@ def add_chart
}
},
data_label: {
- color: "FFFFFF",
+ color: "000000",
font_size: 12,
font_name: "Arial",
displacement: [0, 10]
@@ -8,4 +8,4 @@ DEPENDENCIES:
SPEC CHECKSUMS:
CorePlot: f23c33720e470d17d8e4aae4a08e4deb184bef56
-COCOAPODS: 0.16.1
+COCOAPODS: 0.16.2
@@ -4,12 +4,12 @@ install_resource()
{
case $1 in
*.storyboard)
- echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
- ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
+ echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
+ ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
- echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
- ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
+ echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
+ ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
Oops, something went wrong.

0 comments on commit 9cc0b40

Please sign in to comment.