MPAndroidChart
MPAndroidChart copied to clipboard
Added RoundedBarChartRenderer & RoundedHorizontalBarChartRenderer for Rounded corner Bar Chart
… corner radius positive/negative Bar Chart
PR Checklist:
- [✓ ] I have tested this extensively and it does not break any existing behavior.
- [✓ ] I have added/updated examples and tests for any new behavior.
- [✓ ] If this is a significant change, an issue has already been created where the problem / solution was discussed: N/A
PR Description:
- Added RoundedBarChartRenderer for vertical Positive/Negative BarChart with customised rounded corners.
- RoundedHorizontalBarChartRenderer for horizontal BarChart with customised rounded corners.
Added Feature:
This PR is for BarChartRenderer and HorizontalBarChartRenderer customisation.
PR has to be merged:
So that users can customise BarChart corners according to their requirements.
There is crash when we use FloatArray for Y values.
Crash happens here, as we don't have y, instead yVals
if ((dataSet.getEntryForIndex(j / 4).y < 0 && roundedNegativeDataSetRadius > 0)) {
This is only needed to make it perfect