MPAndroidChart README

The project's README from github.com/PhilJay/MPAndroidChart. As one markdown file: README.md.

banner

Release API Android Arsenal Gitter Twitter

:zap: A powerful & easy to use chart library for Android :zap:

Charts is the iOS version of this library

Table of Contents

  1. Quick Start
    1. Gradle
    2. Maven
  2. Documentation
  3. Examples
  4. Questions
  5. Donate
  6. Social Media
  7. More Examples
  8. License
  9. Creators

Gradle Setup

repositories {
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
}

Maven Setup

<!-- <repositories> section of pom.xml -->
<repository>
    <id>jitpack.io</id>
   <url>https://jitpack.io</url>
</repository>

<!-- <dependencies> section of pom.xml -->
<dependency>
    <groupId>com.github.PhilJay</groupId>
    <artifactId>MPAndroidChart</artifactId>
    <version>v3.1.0</version>
</dependency>

Documentation :notebook_with_decorative_cover:

See the documentation for examples and general use of MPAndroidChart.

See the javadocs for more advanced documentation.


Examples :eyes:

Download the MPAndroidChart Example App or look at the source code.

ScreenShot


Questions & Issues :thinking:

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.


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


Social Media :fire:

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

Share on Twitter Share on Google+ Share on Facebook

If you like, you can follow me on Twitter @PhilippJahoda.


More Examples :+1:


LineChart (with legend, simple design)

alt tag

LineChart (with legend, simple design)

alt tag

LineChart (cubic lines)

alt tag

LineChart (gradient fill)

alt tag

BarChart (with legend, simple design)

alt tag

BarChart (grouped DataSets)

alt tag

Horizontal-BarChart

alt tag

Combined-Chart (bar- and linechart in this case)

alt tag

PieChart (with selection, ...)

alt tag

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

alt tag

CandleStickChart (for financial data)

alt tag

BubbleChart (area covered by bubbles indicates the yValue)

alt tag

RadarChart (spider web chart)

alt tag


License :page_facing_up:

Copyright 2020 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 :heart:

These people rock!

MPAndroidChart (PhilJay/MPAndroidChart)

Searching Database…

这是什么?MPAndroidChart 是一个用于 Android 的图表视图库,支持折线图、柱状图、饼图、雷达图、气泡图和蜡烛图,还支持缩放、平移和动画。
这是独立的应用,还是我要添加到项目里的库?它是一个库,需要作为依赖添加到 Android 应用中,而不是独立的应用。
我要怎么把它加到项目里?按照文档中“快速入门”部分的说明,通过 Gradle 或 Maven 添加即可。
我用它需要什么语言或平台?它是为 Android 开发打造的,使用 Java 或 Kotlin 编写;文档中没有提到其他特殊的环境要求。
这个只能在 Android 上用吗?还有 iOS 版本吗?这个库只支持 Android,但同一作者还维护着 iOS 版本的 'Charts'。
它开箱即用支持哪些图表类型?折线图、柱状图、饼图、雷达图、气泡图、散点图、蜡烛图(金融图表)、柱线组合图和水平柱状图等,更多类型可以在示例中看到。
集成之前可以先看看示例应用吗?可以,有可下载的 MPAndroidChart Example App,还有示例源代码,可以查看各种图表样式。
Creator
PhilJay
Size
23.9 MB
Stars
38.2K
Age
12y
Commits · 90 Days