Configuring using the LineChart class in the MPAndroidChart library.
I want to lower the numbers such as 75 and 76 at the top, but I can't find the setting.
The graph is configuring only values on the Y-axis. The X-axis is the time that passes in real time.
YAxis leftAxis = mChart.getAxisLeft();
leftAxis.removeAllLimitLines();
leftAxis.setAxisMaxValue(100f);
leftAxis.setAxisMinValue(0f);
leftAxis.setStartAtZero(true);
I set the Y axis separately, but I didn't set the X axis~
If you look at the document, there is a setPosition method in the XAxis class, so don't you think you're using this?
https://github.com/PhilJay/MPAndroidChart/wiki/XAxis-(XLabels)
© 2024 OneMinuteCode. All rights reserved.