Download Latest Version MPAndroidChart 4.0.1 source code.zip (8.1 MB) Google Add to Preferred Sources
Home / v4.0.1
Name Modified Size InfoDownloads / Week
Parent folder
MPAndroidChart 4.0.1 source code.tar.gz 2026-09-28 7.8 MB
MPAndroidChart 4.0.1 source code.zip 2026-09-28 8.1 MB
README.md 2026-09-28 1.6 kB
Totals: 3 Items   15.8 MB 0

Fixes and small additions for MPAndroidChart 4.0. A drop-in update from 4.0.0: no API was removed or changed.

:::kotlin
implementation("com.github.PhilJay.MPAndroidChart:MPChartLib:v4.0.1")
implementation("com.github.PhilJay.MPAndroidChart:MPChartCompose:v4.0.1") // only for Compose

Fixed

  • A tap inside a bar of a combined chart selects the bar instead of a nearby line point (#5207).
  • In a bar chart whose grouped data sets use different y axes, a tap selects the bar that was touched (#5292).
  • Limit line labels at the edge of the content area are no longer cut off (#5328).
  • Auto scaling also rescales a y axis that is disabled (#5258).
  • Charts can be built on a thread without a Looper, for example with an asynchronous layout inflater (#5241).
  • The default value formatter no longer rebuilds its number format when the number of decimals stays the same (#5217).

New

  • YAxis.labelRotationAngle rotates the y axis labels (#5213).
  • Pie entry labels and values with a line break are drawn as several lines (#5205).
  • PieChart.isRoundedSlicesReversed rounds the slice ends the other way around (#5206).
  • PieChart.isTransparentCircleClippedToSlices draws the translucent ring only over the slices, so the space between slices stays open (#5348).
  • chart.toBitmap(width, height) draws a chart at any size, also one that was never laid out, for example to export an image (#4664).

The guides cover all additions, and CHANGELOG.md (github.com) lists every change.

Source: README.md, updated 2026-09-28