Age | Commit message (Collapse) | Author |
|
If anyone does not know how to add a space or change the format in anyway,
please learn how to subclass.
|
|
|
|
|
|
|
|
|
|
Support HorizontalBarChart too.
|
|
|
|
|
|
https://github.com/danielgindi/Charts/pull/4100
|
|
https://github.com/danielgindi/Charts/pull/4094
|
|
https://github.com/danielgindi/Charts/pull/3969
|
|
https://github.com/danielgindi/Charts/pull/3900
|
|
https://github.com/danielgindi/Charts/pull/3854
|
|
https://github.com/danielgindi/Charts/pull/3847
|
|
https://github.com/danielgindi/Charts/pull/3709
|
|
https://github.com/danielgindi/Charts/pull/3770
|
|
https://github.com/danielgindi/Charts/pull/3650
|
|
https://github.com/danielgindi/Charts/commit/b03cf16ec47437c066e17b5b8f77322111695e6a
|
|
https://github.com/danielgindi/Charts/pull/3548
|
|
|
|
https://github.com/danielgindi/Charts/pull/3360
|
|
https://github.com/danielgindi/Charts/pull/3286
|
|
|
|
https://github.com/danielgindi/Charts/pull/3265
|
|
https://github.com/danielgindi/Charts/pull/2852
|
|
https://github.com/danielgindi/Charts/pull/3202
|
|
https://github.com/danielgindi/Charts/pull/2214
|
|
https://github.com/danielgindi/Charts/pull/3199
|
|
https://github.com/danielgindi/Charts/pull/2377
|
|
https://github.com/danielgindi/Charts/pull/2894
|
|
https://github.com/danielgindi/Charts/pull/3132
|
|
https://github.com/danielgindi/Charts/pull/2848
|
|
https://github.com/danielgindi/Charts/pull/2874
|
|
https://github.com/danielgindi/Charts/pull/2961
|
|
These will be even more important when moving to Kotlin ranges
|
|
|
|
|
|
Allows to force minimum slice angles when drawing charts, which means that any
slices with angles lower than the minimum will be drawn with the minimum angle.
When changing this setting on the fly, you have to call
`notifyDataSetChanged()` and `invalidate()` for the minimum angle to take
effect.
This only functions if all slices can be drawn with the minimum angle. For
example if a chart has 5 slices, the largest functioning minimum angle is
`72f` degrees on a 360 degree chart, or 20% of the chart's `maxAngle`.
|
|
Finally added support for rounded slices, and somewhat improved the code
for the PieChartRenderer class.
|
|
Also added run configuration for the MPChartExample.
Removed deprecated Legend stuff.
|
|
Long deprecated Legend constructor and positioning has been removed, it was
replaced with a new way to position the Legend.
The old Easing options have been removed now, accessing them is as easy as
removing the `EasingOption` part, such that the names look like
`Easing.Linear` or `Easing.EaseInOutQuad` now.
|
|
I created a simplified value formatter class, which is an abstract class rather
than an interface.
The switch was chosen because the new format has all the methods predefined
(something an interface wouldn't allow) meaning you can extend it and only
change what you want. This also means that you only need one value formatting
class for labels rather than two different classes, it just makes more sense.
Please check the method signatures to learn how to use them, I'm sure you'll
find this new format is much more customizable and faster to use.
I've made the class abstract even though there are no abstract methods or
fields, this is because it would certainly be a mistake to create a
ValueFormatter and not override any methods.
To convert existing code, just use 'extends' instead of 'implements' and change
the names to 'ValueFormatter'. You'll need to change the methods you overwrite
as well, just check the class and use the one you need.
|
|
Remove unused local variable
|
|
Remove nullcheck for known non-null variable
|
|
Before anyone freaks out, all these changes are under-the-hood, meaning that you probably won't even notice them at all.
The biggest difference is raising the minSdkVersion from 9 to 14. Recently android bumped this number interally as there are basically no devices running lower than 14 anymore. Sorry but you are just wasting your time if you are trying to support anything lower than 14 now.
The next biggest change is updating the project to the new AndroidX libraries, which changes some imports and nothing else really.
The third biggest change is fixing a few bugs in the code that cause values to be drawn even if there are none, which results in your app crashing. Surprisingly, these checks already existed in a few of the newer chart types, but most lacked this simple check.
Other than those three changes, nothing else is functionally different. Well, saving to gallery works on all charts in the example app now, and you can quickly see the code for each example in the menus.
The only real potential "breaking" change is that charts are now saved as PNGs by default instead of JPGs if you go the route of not specifying as a JPG. You may want to double check your file sizes as PNGs can be larger than low quality JPGs.
I still have more plans for simplifying the API and fixing other issues with the project, for the small few that closely pay attention to individual commits: there's going to be more soon.
|
|
Add option to draw limit lines on top of data
|
|
Refactored LargeValueFormatter
|
|
RobertZagorski/bugfix/#2369-legend-offset-is-not-calculated-twice-for-line-chart
Remove mLabelRotatedHeight counted twice, when calculating legend offset
|
|
Option to set restrictions for Y axis autoscaling.
|
|
|