aboutsummaryrefslogtreecommitdiff
path: root/MPChartLib/src
AgeCommit message (Collapse)Author
2020-09-21Revert: e5b66192 - bring back polymorphism to value formattersDaniel Cohen Gindi
If anyone does not know how to add a space or change the format in anyway, please learn how to subclass.
2020-02-07Update BarChartRenderer.javaAnirut Teerabut
2020-02-07Update HorizontalBarChartRenderer.javaAnirut Teerabut
2020-02-07Update BarChartRenderer.javaAnirut Teerabut
2020-02-07fix NPE when use solid color with barchartAnirut Teerabut
2020-01-24Implement a more generic Fill class instead of GradientColorDaniel Cohen Gindi
Support HorizontalBarChart too.
2020-01-24Fixed merge residueDaniel Cohen Gindi
2020-01-23Finalized vertical line collision checkDaniel Cohen Gindi
2020-01-23Corrected check for line in vertical boundsDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/4100
2020-01-23Remove unexpected dash line during linear animationDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/4094
2020-01-23Fixed a bug where a pie slice without highlight enabled is hiddenDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3969
2020-01-23maxHeight didn't account for the last labelDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3900
2020-01-22Improved negative offset for horz bar chartDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3854
2020-01-22Renamed values -> entries for consistencyDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3847
2020-01-22Multiple colors for valuelineDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3709
2020-01-22Call onChartScale listener after double-tap-zoomDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3770
2020-01-22Improve min/max calculationDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3650
2020-01-22Fixed index out of bounds issue when using stacked bar chartDaniel Cohen Gindi
https://github.com/danielgindi/Charts/commit/b03cf16ec47437c066e17b5b8f77322111695e6a
2020-01-22This is for the inline bubble selectionDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3548
2020-01-22Support for labelXOffset for YAxis labelDaniel Cohen Gindi
2020-01-22Add option to disable clipping data to contentRectDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3360
2020-01-22Add a warning message if pie chart has more than one data setDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3286
2020-01-22Call notifyDataChanged for an opportunity for subclassesDaniel Cohen Gindi
2020-01-22Reset min/max when clearing ChartDataSetDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3265
2020-01-22Added dataIndex param for highlightValue (combined charts)Daniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2852
2020-01-22Use correct color index for bubble chartDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3202
2020-01-22Select correct axis for legend distance calculation in horz bar chartDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2214
2020-01-22Custom text alignment for no-dataDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3199
2020-01-22Avoid race condition for interval/intervalMagnitudeDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2377
2020-01-22Make min/max axis labels configurableDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2894
2020-01-22Fixed axis label disappearing when zooming inDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/3132
2020-01-22Added an implementation of Douglas Peucker with resultCount inputDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2848
2020-01-22Consider axis dependency in Combined chartDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2874
2020-01-22Added highlightColor parameter for pie chartsDaniel Cohen Gindi
https://github.com/danielgindi/Charts/pull/2961
2020-01-22Safe guardsDaniel Cohen Gindi
These will be even more important when moving to Kotlin ranges
2019-04-27fix little typoduchampdev
2019-04-27PercentFormatter: make space between number and percent sign optionalduchampdev
2018-11-15Add option to set minimum anglesalmic
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`.
2018-11-12Add Curved Slices to Pie Chartalmic
Finally added support for rounded slices, and somewhat improved the code for the PieChartRenderer class.
2018-11-11Remove unnecessary API checksalmic
Also added run configuration for the MPChartExample. Removed deprecated Legend stuff.
2018-11-07Remove Deprecated Thingsalmic
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.
2018-11-07New ValueFormatteralmic
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.
2018-10-27Merge pull request #2273 from vpop/update/unused-localMick A
Remove unused local variable
2018-10-27Merge pull request #2187 from vpop/update/redundant-nullcheckMick A
Remove nullcheck for known non-null variable
2018-10-26Huge Project Refreshalmic
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.
2018-05-09Merge pull request #3451 from davidgoli/add-grid-lines-on-top-of-dataMick A
Add option to draw limit lines on top of data
2018-05-09Merge pull request #3478 from MaximPestryakov/patch-1Mick A
Refactored LargeValueFormatter
2018-05-09Merge pull request #4013 from ↵Mick A
RobertZagorski/bugfix/#2369-legend-offset-is-not-calculated-twice-for-line-chart Remove mLabelRotatedHeight counted twice, when calculating legend offset
2018-05-09Merge pull request #3642 from pagrzybe/autoscale_restrictionsMick A
Option to set restrictions for Y axis autoscaling.
2018-05-09Fixed JavadocMaxim Pestryakov