I am using the MPAndroidChart library and have implemented a LineChart. I have set the maximum and minimum values for both the x-axis and y-axis, and the width and height in the layout are set to match_parent. The issue I am facing is that the lengths of the two labels on the x-axis and y-axis are not consistent.
the lengths of the two labels on the x-axis and y-axis are different
The current requirement is to have the lengths of the two labels on the x-axis and y-axis consistent so that the grid appears as a square. Is there a way to achieve this?