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
Ruby
Switch branches/tags
Nothing to show
Latest commit 493223d Jan 30, 2014 @toamitkumar Merge pull request #6 from Joe8Bit/master
Format README for proper code-blocks et al
Permalink
Failed to load latest commit information.
app Added initial commit with LinePlot Jan 31, 2013
examples combined all examples into one app with tabbar to switch between Apr 15, 2013
lib Added some documentation and also updated readme Mar 28, 2013
.DS_Store Added few more screenshots Mar 21, 2013
.gitignore
.repl_history Added initial commit with LinePlot Jan 31, 2013
Gemfile Added example for vertical bar columns Mar 22, 2013
LICENSE
README.md Format README for proper code-blocks et al Jan 24, 2014
Rakefile Added initial commit with LinePlot Jan 31, 2013
motion-plot.gemspec Added configuration option for y-axis labels Mar 25, 2013

README.md

Motion::Plot

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, the iOS plotting framework to build native chart using CoreAnimation, Core Data and Cocoa Bindings

Installation

  1. Add this line to your application's Gemfile:

    gem 'motion-plot'

Then execute:

`$ bundle`

Or install it yourself as:

`$ gem install motion-plot`

And add require 'motion-plot' to your Gemfile

  1. Run 'pod setup' to install core-plot as a pod

Usage

  1. Create a UIView (with whatever frame size you wish)
  2. Build a JSON structure with the details of the chart (look at examples for more)
  3. Initialize the chart type with this JSON (it returns back an instance of CPTGraphHostingView)
  4. Add the view returned to your view

Look at the examples directory for detail usage options.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request