核心功能:
- 8种不同的图表类型
- 两轴缩放(带触摸手势,单独或捏缩放轴)
- 拖动/平移(带触摸手势)
- 联合图表(线 - ,柱状图,散射 - ,蜡烛数据)
- 双(单独)轴
- 定制的轴(x轴和y轴)
- 突出显示值(可自定义的弹出窗口视图)
- 保存图表SD卡(如图像,或者.txt文件)
- 预定义的颜色模板
- 传奇(自动生成的,可定制)
- 动画(建立动画,在两个xPx-和YPX轴)
- 限制线(提供额外的信息,最大值,...)
- 完全自定义(油漆,字体,传说,颜色,背景,手势,虚线,...)
- 顺畅的缩放和滚动在线路和BARCHART高达30.000数据点
- 支持摇篮
-
直接从数据作图Realm.io移动数据库:MPAndroidChart-境界
-
1. Gradle dependency (recommended)
-
Add the following to your project level
build.gradle
:
allprojects { repositories { maven { url "https://jitpack.io" } } }
-
Add this to your app
build.gradle
:
dependencies { compile 'com.github.PhilJay:MPAndroidChart:v3.0.1' }
2. Maven
-
Add the following to the
<repositories>
section of yourpom.xml
:<repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository>
-
Add the following to the
<dependencies>
section of yourpom.xml
:<dependency> <groupId>com.github.PhilJay</groupId> <artifactId>MPAndroidChart</artifactId> <version>v3.0.1</version> </dependency>
-
Add the following to your project level
图表类型
- 线型图(有传说,简单的设计)
-
-
线型图(有传说,简单的设计)
-
线型图(立方行)
-
线型图(渐变填充)
-
联合图表(酒吧,以及线型图在这种情况下)
-
BARCHART(有传说,简单的设计)
- BARCHART(分组数据集)
- 水平条形图
- 饼图(与选择,...)
- ScatterChart(具有方形,三角形,圆形,...和更多)
- CandleStickChart(财务数据)
- BubbleChart中(气泡覆盖的区域表示y值)
- RadarChart(蛛网图)