Skip to content

Commit

Permalink
Merge readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilJay committed Sep 28, 2014
2 parents c471866 + 7aa1a38 commit 57bd44e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,24 @@ Features
Usage
=======

Rely on the **"MPChartExample"** folder and check out the examples in that project. The example project is also [**available in the Google PlayStore**](https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample).
In order to use the library, there are 2 options:

Furthermore, here is some code to get started.

**1. jar file only**
- Download the [**latest .jar file**](https://github.com/PhilJay/MPAndroidChart/releases) from the releases section
- Copy the **mpandroidchartlibrary-.jar** file into the `libs` folder of your Android application project
- Start using the library

**2. clone whole repository**
- Open your **commandline-input** and navigate to your desired destination folder (where you want to put the library)
- Use the command `git clone https://github.com/PhilJay/MPAndroidChart.git` to download the full MPAndroidChart repository to your computer (this includes the folder of the library project as well as the example project)
- Import the library folder (`MPChartLib`) into your Eclipse workspace, using `File-->Import-->Android-->Existing Android Code` and then choose the library folder from your file system and press `Finish`.
- After importing, add the library to your project by right clicking your project `Properties-->Android`. There, you press the "Add.." button and choose the library project you just imported into eclipse. Then press `apply`.
- Start using the library

For getting started, rely on the **"MPChartExample"** folder and check out the examples in that project. The example project is also [**available in the Google PlayStore**](https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample).

Furthermore, here is some code to begin with.

**Setup:**

Expand Down

0 comments on commit 57bd44e

Please sign in to comment.