[![Twitter](https://img.shields.io/badge/Twitter-@PhilippJahoda-blue.svg?style=flat)](http://twitter.com/philippjahoda)
[![Twitter](https://img.shields.io/badge/Twitter-@mpandroidchart-blue.svg?style=flat)](http://twitter.com/mpandroidchart)
[![Android Arsenal](http://img.shields.io/badge/Android%20Arsenal-MPAndroidChart-orange.svg?style=flat)](http://android-arsenal.com/details/1/741)
[![Release](https://img.shields.io/github/release/PhilJay/MPAndroidChart.svg?style=flat)](https://jitpack.io/#PhilJay/MPAndroidChart) [![API](https://img.shields.io/badge/API-8%2B-green.svg?style=flat)](https://android-arsenal.com/api?level=8)
Remember: *It's all about the looks.*
![alt tag](https://raw.github.com/PhilJay/MPChart/master/design/feature_graphic.png)
[**MPAndroidChart**](https://github.com/PhilJay/MPAndroidChart) :zap: is a powerful & easy to use chart library for Android. It runs on [API level 8](http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) 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: [**Charts**](https://github.com/danielgindi/Charts) :zap:
Are you using this library? Let me know about it and I will add your project to the [**references**](https://github.com/PhilJay/MPAndroidChart/wiki/References).
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**
- [**Donate 5 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7G52RA87ED8NY): Thank's for creating this project, here's a coffee (or some beer) for you!
- [**Donate 10 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4C9TPE67F5PUQ): Wow, I am stunned. Let me take you to the movies!
- [**Donate 15 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YKMPTFMVK3JMC): I really appreciate your work, let's grab some lunch!
- [**Donate 25 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H9JA4QX7UHXCY): That's some awesome stuff you did right there, dinner is on me!
- [**Donate 50 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZPQVJ2XRBSBYY): I really really want to support this project, great job!
- [**Donate 100 $**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KY7F59RYPCYCQ): You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!
- Of course, you can also [**choose what you want to donate**](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EGBENAC5XBCKS), all donations are awesome!
## Got a question?
[Contact me via 21.co](https://21.co/philjay/)
## Xamarin
Xamarin port (by [Flash3001](https://github.com/Flash3001)): *Android* - [GitHub](https://github.com/Flash3001/MPAndroidChart.Xamarin)/[NuGet](https://www.nuget.org/packages/MPAndroidChart/). *iOS* - [GitHub](https://github.com/Flash3001/iOSCharts.Xamarin)/[NuGet](https://www.nuget.org/packages/iOSCharts/).
## Realm.io
[MPAndroidChart-Realm](https://github.com/PhilJay/MPAndroidChart-Realm) allows to directly plot / draw data from [Realm.io](https://realm.io) mobile database.
Spread the word
-----
If you like this library, please tell others about it :two_hearts: :two_hearts:
<a href="https://twitter.com/intent/tweet?text=Check%20out%20the%20awesome%20MPAndroidChart%20library%20on%20Github:%20https://github.com/PhilJay/MPAndroidChart" target="_blank" title="share to twitter" style="width:100%"><img src="https://github.com/PhilJay/MPAndroidChart/blob/master/design/twitter_icon.png" title="Share on Twitter" width="35" height=35 />
<a href="https://plus.google.com/share?url=https://github.com/PhilJay/MPAndroidChart" target="_blank" title="share to twitter" style="width:100%"><img src="https://github.com/PhilJay/MPAndroidChart/blob/master/design/googleplus_icon.png" title="Share on Google+" width="35" height=35 />
<a href="https://www.facebook.com/sharer/sharer.php?u=https://github.com/PhilJay/MPAndroidChart" target="_blank" title="share to twitter" style="width:100%"><img src="https://github.com/PhilJay/MPAndroidChart/blob/master/design/facebook_icon.png" title="Share on Facebook" width="35" height=35 />
- []()Follow me on **Twitter**: [**@PhilippJahoda**](https://twitter.com/PhilippJahoda)
- Contact me on **LinkedIn**: [**PhilippJahoda**](https://www.linkedin.com/in/philippjahoda/en)
- Look me up on **StackOverflow**: [**Philipp Jahoda**](http://stackoverflow.com/users/1590502/philipp-jahoda)
Demo
-----
For a brief overview of the most important features, please download the **PlayStore Demo** [**MPAndroidChart Example.apk**](https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample) and try it out. The corresponding code for the demo-application is also included in this repository inside the **MPChartExample folder**.
[![ScreenShot](https://github.com/PhilJay/MPAndroidChart/blob/master/design/video_thumbnail.png)](https://www.youtube.com/watch?v=ufaK_Hd6BpI)
Questions & Issues
-----
If you are having questions or problems, you should:
- **Review your code**. Make absolutely sure that everything is correct on your side.
- Make sure you are using the **latest version** of the library. Check the [**release-section**](https://github.com/PhilJay/MPAndroidChart/releases).
- Study the [**Documentation-Wiki**](https://github.com/PhilJay/MPAndroidChart/wiki) or the [javadocs](https://jitpack.io/com/github/PhilJay/MPAndroidChart/v3.0.2/javadoc/)
- Search or open questions on [**stackoverflow**](https://stackoverflow.com/search?q=mpandroidchart) with the `mpandroidchart` tag
- Search [**known issues**](https://github.com/PhilJay/MPAndroidChart/issues) for your problem (open and closed)
- Create new issues (please :fire: **search known issues before** :fire:, do not create duplicate issues)
- Check this: ["how not to contribute"](https://github.com/PhilJay/MPAndroidChart/wiki/How-not-to-contribute)
Please do not expect answers to your questions if you have not considered all above mentioned approaches in advance.
Features
-----
**Core features:**
- 8 different chart types
- Scaling on both axes (with touch-gesture, axes separately or pinch-zoom)
- Dragging / Panning (with touch-gesture)
- Combined-Charts (line-, bar-, scatter-, candle-data)
- Dual (separate) Axes
- Customizable Axes (both x- and y-axis)
- Highlighting values (with customizable popup-views)
- Save chart to SD-Card (as image, or as .txt file)
- Predefined color templates
- Legends (generated automatically, customizable)
- Animations (build up animations, on both xPx- and yPx-axis)
- Limit lines (providing additional information, maximums, ...)
- Fully customizable (paints, typefaces, legends, colors, background, gestures, dashed lines, ...)
- Smooth zooming and scrolling for up to 30.000 data points in Line- and BarChart
- Gradle support
- Plotting data directly from [**Realm.io**](https://realm.io) mobile database: [**MPAndroidChart-Realm**](https://github.com/PhilJay/MPAndroidChart-Realm) :zap:
Usage
-----
In order to use the library, there are 4 different options:
**1. Gradle dependency** (recommended)
- Add the following to your project level `build.gradle`:
```gradle
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
```
- Add this to your app `build.gradle`:
```gradle
dependencies {
compile 'com.github.PhilJay:MPAndroidChart:v3.0.2'
}
```
**2. Maven**
- Add the following to the `<repositories>` section of your `pom.xml`:
```xml
<reposi
没有合适的资源?快使用搜索试试~ 我知道了~
MPAndroidChart安卓图表库包
共428个文件
java:235个
xml:69个
png:57个
需积分: 14 7 下载量 113 浏览量
2017-10-21
11:02:17
上传
评论
收藏 25.72MB ZIP 举报
温馨提示
MpChart优点 8种不同的图表类型 缩放两个轴(与触摸手势,轴分别或捏变焦) 拖动/平移(触摸手势) 组合图表(线,酒吧,散射,蜡烛数据) 双(独立)轴 可定制的轴(X,Y轴) 突出价值观(可定制的弹出视图) 图表保存到SD卡(如图像,或为.txt文件) 预定义的颜色模板 传奇(自动生成,可定制) 动画(建立动画,在X和Y轴) 限制线(提供额外的信息,最大值,…) 完全可定制的(油漆、字体、颜色、背景、传说、手势、虚线,…) 平滑缩放和滚动的多达30个数据点,线和条线图 Gradle支持 绘图数据直接从realm.io移动数据库 MpChart是什么? MPAndroidChart :zap: is a powerful & easy to use chart library for Android. It runs on API level 8 and upwards.(强大,易用的图表库,支持api 8以上) As an additional feature, this library allows cross-platform development between Android and iOS as an iOS version of this library is also available: Charts :zap:(除此之外,还支持跨平台,iOS也能用)
资源推荐
资源详情
资源评论
收起资源包目录
MPAndroidChart安卓图表库包 (428个子文件)
gradlew.bat 2KB
config 335B
description 73B
exclude 240B
.gitignore 511B
.gitignore 8B
.gitignore 8B
build.gradle 2KB
build.gradle 2KB
build.gradle 408B
settings.gradle 215B
gradlew 5KB
HEAD 197B
HEAD 197B
HEAD 32B
HEAD 23B
pack-309cd7c45371f30130f51f46d607ea1105dea6e7.idx 720KB
index 52KB
gradle-wrapper.jar 52KB
Chart.java 53KB
BarLineChartBase.java 52KB
PieChartRenderer.java 40KB
Legend.java 33KB
LineChartRenderer.java 28KB
Easing.java 28KB
Utils.java 26KB
BarLineChartTouchListener.java 23KB
LegendRenderer.java 21KB
ChartData.java 21KB
AxisBase.java 21KB
PieChart.java 19KB
ViewPortHandler.java 18KB
BarChartRenderer.java 18KB
HorizontalBarChartRenderer.java 18KB
LineChartActivity1.java 17KB
PieRadarChartBase.java 16KB
MainActivity.java 15KB
LineChartActivity2.java 14KB
XAxisRenderer.java 14KB
IDataSet.java 14KB
RadarChartRenderer.java 13KB
CandleStickChartRenderer.java 13KB
Transformer.java 13KB
BaseDataSet.java 12KB
YAxisRenderer.java 12KB
YAxisRendererHorizontalBarChart.java 11KB
LineDataSet.java 11KB
BarChartActivity.java 11KB
CubicLineChartActivity.java 11KB
DataSet.java 11KB
XAxisRendererHorizontalBarChart.java 11KB
LineChartTime.java 11KB
BarChartActivityMultiDataset.java 10KB
PieChartActivity.java 10KB
ChartAnimator.java 10KB
YAxis.java 10KB
BubbleChartRenderer.java 10KB
CombinedChartActivity.java 10KB
RadarChart.java 10KB
HorizontalBarChartActivity.java 10KB
StackedBarActivityNegative.java 10KB
PiePolylineChartActivity.java 10KB
StackedBarActivity.java 10KB
RadarChartActivitry.java 9KB
InvertedLineChartActivity.java 9KB
HorizontalBarChart.java 9KB
PieRadarChartTouchListener.java 9KB
FileUtils.java 9KB
ObjectPoolTest.java 9KB
BubbleChartActivity.java 9KB
ChartDataTest.java 8KB
AxisRenderer.java 8KB
MultiLineChartActivity.java 8KB
ScatterChartActivity.java 8KB
BarChart.java 8KB
DataSetTest.java 8KB
CandleStickChartActivity.java 8KB
CombinedChart.java 8KB
ChartHighlighter.java 8KB
BarChartActivitySinus.java 8KB
ObjectPool.java 7KB
YAxisRendererRadarChart.java 7KB
SimpleFragment.java 7KB
CombinedData.java 7KB
BarEntry.java 7KB
CandleDataSet.java 7KB
RealtimeLineChartActivity.java 7KB
DynamicalAddingActivity.java 7KB
ScatterChartRenderer.java 7KB
AnotherBarActivity.java 7KB
RealmBaseActivity.java 6KB
BarDataSet.java 6KB
ListViewMultiChartActivity.java 6KB
PieDataSet.java 6KB
BarChartPositiveNegative.java 6KB
Highlight.java 6KB
DrawChartActivity.java 6KB
LimitLine.java 6KB
CombinedChartRenderer.java 6KB
FilledLineActivity.java 5KB
共 428 条
- 1
- 2
- 3
- 4
- 5
资源评论
linfen1520
- 粉丝: 8
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python-leetcode面试题解之第157题用Read4读取N个字符-题解.zip
- python-leetcode面试题解之第156题上下翻转二叉树-题解.zip
- python-leetcode面试题解之第155题最小栈-题解.zip
- python-leetcode面试题解之第153题寻找旋转排序数组中的最小值-题解.zip
- python-leetcode面试题解之第152题乘积最大子数组-题解.zip
- python-leetcode面试题解之第151题反转字符串中的单词-题解.zip
- python-leetcode面试题解之第150题逆波兰表达式求值-题解.zip
- python-leetcode面试题解之第149题直线上最多的点数-题解.zip
- python-leetcode面试题解之第148题排序链表-题解.zip
- python-leetcode面试题解之第147题对链表进行插入排序-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功