← 返回首页
GitHub - PhilJay/MPAndroidChart: A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations. · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

PhilJay/MPAndroidChart

 master
Go to file
Code

Repository files navigation

More items

⚡ A powerful & easy to use chart library for Android ⚡

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 📔

See the documentation for examples and general use of MPAndroidChart.

See the javadocs for more advanced documentation.


Examples 👀

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


Questions & Issues 🤔

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.


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 $: Thank's for creating this project, here's a coffee (or some beer) for you!
  • Donate 10 $: Wow, I am stunned. Let me take you to the movies!
  • Donate 15 $: I really appreciate your work, let's grab some lunch!
  • Donate 25 $: That's some awesome stuff you did right there, dinner is on me!
  • Or you can also choose what you want to donate, all donations are awesome!

Social Media 🔥

If you like this library, please tell others about it 💕 💕

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


More Examples 👍


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)


License 📄

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 ❤️

These people rock!

About

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

Topics

Resources

License

Contributing

Stars

38.2k stars

Watchers

1.1k watching

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages

Footer

© 2026 GitHub, Inc.