crashlytics/MPAndroidChart

Name: MPAndroidChart

Owner: Crashlytics, Inc.

Description: Forked version of MPAndroidChart for Instant Android App

Created: 2016-06-08 17:50:39.0

Updated: 2017-11-13 23:53:23.0

Pushed: 2016-06-08 21:12:38.0

Homepage: null

Size: 18875

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Twitter Twitter Android Arsenal ![Release](https://img.shields.io/github/release/PhilJay/MPAndroidChart.svg?label=maven central) API

Remember: It's all about the looks.

alt tag

MPAndroidChart :zap: is a powerful & easy to use chart library for Android. It runs on API level 8 and upwards.

As an additional feature, this library allows cross-platform development between Android and iOS as an iOS version of this library is also available: ios-charts :zap:

Are you using this library? Let me know about it and I will add your project to the references.

3rd party bindings

Xamarin (by @Flash3001): Android - GitHub/NuGet. iOS - GitHub/NuGet.

Spread the word

If you like this library, please tell others about it :two_hearts: :two_hearts:

Donations

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

PayPal

Demo

For a brief overview of the most important features, please download the PlayStore Demo MPAndroidChart Example.apk and try it out. The corresponding code for the demo-application is also included in this repository inside the MPChartExample folder.

ScreenShot

Questions & Issues

If you are having questions or problems, you should:

Please do not expect answers to your questions if you have not considered all above mentioned approaches in advance.

Features

Core features:

Usage

In order to use the library, there are 4 different options:

1. Gradle dependency (recommended)

dependencies {

    compile 'com.github.PhilJay:MPAndroidChart:v2.2.4'

}

 Maven**
d the following to your `pom.xml`:

    <id>jitpack.io</id>
    <url>https://jitpack.io</url>

    <groupId>com.github.PhilJay</groupId>
    <artifactId>MPAndroidChart</artifactId>
    <version>v2.2.4</version>

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

 clone whole repository**
pen your **commandline-input** and navigate to the desired destination folder on your machine (where you want to place the library)
se 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 as well as the folder of the example project)
mport the library folder (`MPChartLib`) into Android Studio (recommended) or your Eclipse workspace
dd it as a reference to your project: 
 [referencing library projects in Eclipse](http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject)
 [managing projects from Android Studio](https://developer.android.com/sdk/installing/create-project.html)


mentation
-
a **detailed documentation** :notebook_with_decorative_cover:, please have a look at the [**Wiki**](https://github.com/PhilJay/MPAndroidChart/wiki) or the [javadocs](https://jitpack.io/com/github/PhilJay/MPAndroidChart/v2.2.4/javadoc/).

hermore, you can also rely on the [**MPChartExample**](https://github.com/PhilJay/MPAndroidChart/tree/master/MPChartExample) folder and check out the example code in that project. The corresponding application to the example project is also  [**available in the Google PlayStore**](https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample). 

have a problem that cannot be solved by having a look at the example project and documentation?
roblem, let's talk: [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/PhilJay/MPAndroidChart?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge)

t types
-

*LineChart (with legend, simple design)**
t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/simpledesign_linechart4.png)
*LineChart (with legend, simple design)**
t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/simpledesign_linechart3.png)

*LineChart (cubic lines)**
t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/cubiclinechart.png)

*LineChart (gradient fill)**
t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/line_chart_gradient.png)

*Combined-Chart (bar- and linechart in this case)**
t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/combined_chart.png)

*BarChart (with legend, simple design)**

t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/simpledesign_barchart3.png)

*BarChart (grouped DataSets)**

t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/groupedbarchart.png)

*Horizontal-BarChart**

t tag](https://raw.github.com/PhilJay/MPChart/master/screenshots/horizontal_barchart.png)


*PieChart (with selection, ...)**

t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/simpledesign_piechart1.png)

*ScatterChart** (with squares, triangles, circles, ... and more)

t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/scatterchart.png)

*CandleStickChart** (for financial data)

t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/candlestickchart.png)

*BubbleChart** (area covered by bubbles indicates the value)

t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/bubblechart.png)

*RadarChart** (spider web chart)

t tag](https://raw.github.com/PhilJay/MPAndroidChart/master/screenshots/radarchart.png)


nse
===
right 2016 Philipp Jahoda

nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.

ecial thanks** to [danielgindi](https://github.com/danielgindi), [mikegr](https://github.com/mikegr), [ph1lb4](https://github.com/ph1lb4) and [jitpack.io](https://github.com/jitpack-io) for their contributions to this project.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.