MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Fix x-axis labels overlapping

Open yaugenka opened this issue 3 years ago • 1 comments

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.

yaugenka avatar Jan 15 '22 13:01 yaugenka

Nice changes, what do you think about this ? https://github.com/PhilJay/MPAndroidChart/issues/5268

hannesa2 avatar Feb 25 '22 20:02 hannesa2