MPAndroidChart
MPAndroidChart copied to clipboard
Fix x-axis labels overlapping
Fixes #3298, Fixes #2980, Fixes #4640, Fixes #4557, Fixes #3673.
For those who are looking for a workaround solution, have posted one into #3298.
The fix required modification of AxisRender.ComputeAxisValues just for XAxis.
In order to avoid code duplication, the following refactoring was done.
ComputeAxisValues was split into CompleteAxisInterval (the part which differs for X and Y axis) and ComputeAxisValues (the common part). The resulting workflow is X/YAxisRenderer.ComputeAxis -> X/YAxisRenderer.CompleteAxisInterval -> AxisRender.ComputeAxisValues.
Nice changes, what do you think about this ? https://github.com/PhilJay/MPAndroidChart/issues/5268