В MPAndroidChart: как сделать равными длины между двумя метками по осям X и Y. ⇐ Android
-
Anonymous
В MPAndroidChart: как сделать равными длины между двумя метками по осям X и Y.
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?
Источник: https://stackoverflow.com/questions/781 ... the-x-axis
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?
Источник: https://stackoverflow.com/questions/781 ... the-x-axis
Мобильная версия