commit | 89436221db3d83991f9ecd830f871d4ce7da47a4 | [log] [tgz] |
---|---|---|
author | RobertZagorski <robertzagorsky@gmail.com> | Wed May 09 08:44:22 2018 +0200 |
committer | Robert Zagorski <zagorr01@pl-war-m5bhfvh4.stepstone.asa> | Wed May 09 08:44:22 2018 +0200 |
tree | 9098fecc7ca67c208c89f959e909cf0a1afa27f8 | |
parent | 0b6632f2cb4443805bd699def8c60928c7d9919a [diff] |
Remove mLabelRotatedHeight counted twice, when calculating legend offsets. (Fix for #2369). Removed statements where completely not needed as calculating offsets is alredy done in BarLineCharBase#calculateOffsets(...)
Remember: It's all about the looks.
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: Charts :zap:
MPAndroidChart is free software, as a result dynamic & realtime data is not officially supported. If you are looking for an enterprise-grade chart solution with extreme realtime performance and tech support, we recommend SciChart Android.
All MPAndroidChart users are entitled to a special discount of 5% off the SciChart store, using the following discount code: MPANDROIDCHART
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!
My Bitcoin Wallet (Bitcoin only)
1G8G6tqQ3oh38BvDH3xq8o6gGVMvBTkcUg
My Ethereum Wallet (Ethereum only)
0x04ef098bf9f91871391363e3caf791afa3adc39b
PayPal
If you like this library, please tell others about it :two_hearts: :two_hearts:
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.
If you are having questions or problems, you should:
mpandroidchart
tagPlease do not expect answers to your questions if you have not considered all above mentioned approaches in advance.
You can have a look at the core features of this libary here.
In order to use the library, there are 4 different options:
1. Gradle dependency (recommended)
build.gradle
:allprojects { repositories { maven { url "https://jitpack.io" } } }
build.gradle
:dependencies { implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3' }
2. Maven
<repositories>
section of your pom.xml
:<repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository>
<dependencies>
section of your pom.xml
:<dependency> <groupId>com.github.PhilJay</groupId> <artifactId>MPAndroidChart</artifactId> <version>v3.0.3</version> </dependency>
3. clone whole repository (not recommended)
For a detailed documentation :notebook_with_decorative_cover:, please have a look at the Wiki or the javadocs.
Furthermore, you can also rely on the 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. You can also join others in a discussion on
LineChart (with legend, simple design)
LineChart (with legend, simple design)
LineChart (cubic lines)
LineChart (gradient fill)
Combined-Chart (bar- and linechart in this case)
BarChart (with legend, simple design)
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.
Special thanks to danielgindi, mikegr, tony, almic and jitpack.io for their contributions to this project.