声明:基于PhilJay MPAndroidChart:v3.0.3版本基础上封装,使用方法不变
实现特殊功能:添加不同类,与原框架不冲突(不需要集成原框架)
封装的原因:
1:双或单平滑曲线(双折线图)和MarkView实现
2:自定义1MPAndroidChart滑动冲突解决
3:饼状图实现和文字重合问题解决
4:柱状图实现及X轴文字不显示问题和柱状图上显示文字
5: 天一方蓝 - 天一方蓝
6:以上功能封装完毕,1,2条在本项目已经实现,3,4请参考5 点击查看demo
7:Apk体验请下拉到底
Gradle
- Project level
build.gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
- App level
build.gradle
dependencies {
implementation 'com.github.zhangi789:MPAndroidChart:v3.0.3'
}
See the documentation for examples and general use of MPAndroidChart.
See the javadocs for more advanced documentation.
This repository's issue tracker is only for bugs and feature requests. The maintainers ask that you refrain from asking questions about how to use MPAndroidChart through the issue tracker.
Please read the documentation first, then ask all your questions on stackoverflow.com for the fastest answer.
LineChart (with legend, simple design)
LineChart (with legend, simple design)
LineChart (cubic lines)
LineChart (gradient fill)
BarChart (with legend, simple design)
BarChart (grouped DataSets)
Horizontal-BarChart
Combined-Chart (bar- and linechart in this case)
PieChart (with selection, ...)
ScatterChart (with squares, triangles, circles, ... and more)
CandleStickChart (for financial data)
BubbleChart (area covered by bubbles indicates the yValue)
RadarChart (spider web chart)
Copyright 2018 Philipp Jahoda
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
These people rock!