Analysis updated 2026-06-20
Show workout history as a line chart in a fitness tracking Android app.
Display stock price history with interactive candlestick charts in a finance app.
Visualize sensor readings over time in a health or IoT monitoring app.
Add a grouped or stacked bar chart to a business dashboard in an Android app.
| philjay/mpandroidchart | teamnewpipe/newpipe | halo-dev/halo | |
|---|---|---|---|
| Stars | 38,218 | 37,983 | 38,472 |
| Language | Java | Java | Java |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | developer | general | pm founder |
Figures from each repo's GitHub metadata at analysis time.
Requires adding JitPack to your Gradle build file before the dependency is available.
MPAndroidChart is a charting and graphing library for Android applications. It solves the common problem that Android's built-in UI toolkit does not include data visualization components, if you want to show users a line chart, bar chart, or pie chart in your app, you need to draw it yourself or use a library like this one. MPAndroidChart provides a wide variety of chart types: line charts, bar charts (including grouped and stacked variants), horizontal bar charts, pie charts, candlestick charts (for financial price data), scatter charts, bubble charts, and radar charts (also known as spider web charts). Each chart type supports animations, zooming and panning, touch interactions, and customizable legends. To use it, you add the library to your project's Gradle build file, create a chart view in your layout XML, and then provide data programmatically in your Activity or Fragment code. The library handles all the rendering on the screen, including axes, labels, tooltips, and highlight interactions. It supports Android API level 14 and above, which covers essentially all Android devices in practical use. You would reach for MPAndroidChart when building an Android app that needs to display data visually, for example, a fitness app showing workout history, a finance app displaying stock prices with candlestick charts, a health app charting sensor readings over time, or a dashboard showing business metrics. The library is written in Java, is available through JitPack, and there is a companion library called Charts for iOS that follows the same API so you can maintain consistent behavior across platforms.
A Java library for Android that adds interactive charts, line, bar, pie, candlestick, and more, to your app with touch support, zooming, and animations, since Android has no built-in charting components.
Mainly Java. The stack also includes Java, Android, Gradle.
Apache 2.0, use freely in personal or commercial Android apps, including closed-source ones, as long as you include the copyright notice.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.