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.
How mpandroidchart is put together
MPAndroidChart is an Android charting library written in Java, distributed via JitPack as 'com.github.PhilJay:MPAndroidChart'. The repo is a two-module Gradle Android project: MPChartLib (an Android library providing line/bar/pie/scatter/candle/bubble/radar/combined charts rendered on Canvas) and MPChartExample (a demo application exercising every chart type). Data flows from Entry/DataSet/Data model objects supplied by the host app into each chart view, which renders via custom drawing and supports touch gestures (pinch zoom, drag), highlighting, animations, and gallery export of rendered charts. A legacy Maven pom.xml for apklib packaging also exists alongside the primary Gradle build.
Languages
Frameworks
Infrastructure
Major components
MPChartLib
The core Android library module containing all chart rendering, data models, axes, formatters, highlighting, animation, and touch/gesture handling under package com.github.mikephil.charting.
MPChartExample
Demo application module (com.xxmassdeveloper.mpchartexample) showcasing every supported chart type with interactive SeekBar-driven random data generation.
Chart views
Concrete chart UI widgets (BarChart, LineChart, PieChart, BubbleChart, CandleStickChart, RadarChart, ScatterChart, CombinedChart) that consume ChartData and render to Canvas.
Data model layer
Entry/DataSet/Data classes (BarEntry, BarDataSet, BarData, BubbleEntry, etc.) plus IDataSet interfaces used by apps to feed values into charts.
Customization hooks
Formatter/renderer extension points demonstrated by the example app's custom package (value formatters, axis value formatters, marker views, scatter shape renderer, fill formatter).
Chart persistence/export
saveToGallery support in demo activities, guarded by runtime WRITE_EXTERNAL_STORAGE permission requests.
Build & packaging
Root Gradle build (AGP 7.0.4), library/application module builds producing AAR plus sources/javadoc Jars, legacy Maven apklib pom.
No digest this week
1 weeksWeek of
Dependencies and code review
Dependency advisories
Security Watch
No known advisories across 0 scanned dependencies.
No known advisories in the scanned dependencies.
Code review
No concrete code-level issues confirmed.
Get this report every week for your repos.
GitZoid learns each repo, reports what changed, and flags what needs attention. One flat price for the whole team.
$19 a month, flat · First 10 outputs free · No card required