A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
This mostly includes bug fixes, but with a few notable differences. The biggest change is bumping MPAndroidChart's minSdkVersion
to 14
. If you have a lower version, you should stop supporting it and go up to 14
as well.
Please see the current distribution usages, as less than 1% of Android devices are running versions 15 and lower now.
minSdkVersion
has been bumped to 14
, read the above.Easing
class has been simplified, old methods of getting easing functions are DEPRECATED (35c9fc937ecda0dd2eb1a7b879aa869a48bfad3d)Chart.saveToGallery(name, quality)
now saves as a PNG instead of JPG (d67ea48
)androidX
, maven upgraded to 2.1
, gradle upgraded to 4.6
, android gradle to 3.2.1
, android build tools to 28.0.3
This is a pre-release, which means it's not fully tested. However, many bugs have still been fixed and I highly recommend that you update anyway to get those latest changes. Please open an issue if you are still running into issues with this release so they can be patched up for the final 3.1 release!
This mostly includes bug fixes, but with a few notable differences. The biggest change is bumping MPAndroidChart's minSdkVersion
to 14
. If you have a lower version, you should stop supporting it and go up to 14
as well.
Please see the current distribution usages, as less than 1% of Android devices are running versions 15 and lower now.
minSdkVersion
has been bumped to 14
, read the above.Easing
class has been simplified, old methods of getting easing functions are DEPRECATED (35c9fc937ecda0dd2eb1a7b879aa869a48bfad3d)Chart.saveToGallery(name, quality)
now saves as a PNG instead of JPG (d67ea48
)androidX
, maven upgraded to 2.1
, gradle upgraded to 4.6
, android gradle to 3.2.1
, android build tools to 28.0.3
Bump compile & target SDK, gradle changes.
This release includes bugfixes and minor changes that came up over the past weeks.
This release improves stability and fixes bugs.
This is a major release, with a few breaking changes. So please pay attention.
Updates:
x-index
is dead. Intoducing: x-values (float
). Each entry now has an x
and a y
.Breaking changes / how to migrate:
PieEntry
/RadarEntry
startAtZeroEnabled
calls - these have been deprecated for a long time. Replace them with axisMinimum
.OnChartValueSelectedListener
is implemented, update the onValueSelected
interfacedrawSliceTextEnabled
with drawEntryLabelsEnabled
IShapeRenderer
, and put your rendering code in thereMarkerView
/MarkerImage
or implementing IMarker
. There are more options than before now...barSpace
before, move to using barWidth
#1947
Entry
now has a float
x- and y-coordinate)Entry
constructor from Entry(float y, int xIndex)
to Entry(float x, float y)
XAxis
and YAxis
concept is now similar (XAxis
no longer represented by Strings
)Currently, the documentation is not up to date and still refers to versions prior to 3.0 - please have a look a the example project to figure out how the new API works. An update of the docs will follow soon.
Please also note that this is a "beta" release that might contain bugs that require fixing. A stable release 3.0 will be out within the next few weeks. If you are certain that you discovered a new issue with this new version, please let me know.
mode
property)circleHoleRadius
property for more control over line chart circlesPieChart
values outside of chart (connected with lines)highlightFullBar
for highlighting all values on an x-index at oncexVals
on existing Data objectsextra
offsets for Pie/Radar chart viewfalse
LineChart