Skip to content

MPAndroidChart 4.0.1 - #5527

Merged
PhilJay merged 14 commits into
masterfrom
release/4.0.1
Sep 28, 2026
Merged

PhilJay merged 14 commits into
masterfrom
release/4.0.1

Conversation

@PhilJay

@PhilJay PhilJay commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Fixes and small additions for MPAndroidChart 4.0.1. This release is still collecting fixes; the issues below close when it ships.

Fixed

  • A tap inside a bar of a combined chart selected a nearby line point instead of the bar.
  • In a bar chart whose grouped data sets use different y axes, a tap often selected the bar of the other axis.
  • Limit line labels at the edge of the content area were cut off.
  • Auto scaling skipped a y axis that was disabled.
  • Building a chart on a thread without a Looper crashed.
  • The default value formatter rebuilt its number format on every data change.

Added

  • YAxis.labelRotationAngle rotates the y axis labels.
  • PieChart.isRoundedSlicesReversed rounds the slice ends the other way around.
  • PieChart.isTransparentCircleClippedToSlices draws the translucent ring only over the slices.
  • Pie entry labels and values with a line break are drawn as several lines.
  • chart.toBitmap(width, height) draws a chart at any size, also one that was never laid out.

Fixes #5207
Fixes #5292
Fixes #5328
Fixes #5258
Fixes #5241
Fixes #5217
Fixes #5213
Fixes #5205
Fixes #5206
Fixes #5348
Fixes #4664

@PhilJay PhilJay added this to the 4.0.1 milestone Sep 26, 2026
@PhilJay
PhilJay marked this pull request as ready for review September 28, 2026 16:54
@PhilJay
PhilJay merged commit 5e97310 into master Sep 28, 2026
1 check passed
@PhilJay
PhilJay deleted the release/4.0.1 branch September 28, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment