enter image description here
I want to adjust the unit spacing of the red borders in the photo For example, I want to adjust the units in 70 steps like 70,140,210. Is this possible? Thank you
try to this
tempLineChart = findViewById(R.id.temp_lineChart);
YAxis yAxisleft = tempLineChart.getAxisLeft();
yAxisleft.setValueFormatter(new ValueFormatter() {
@Override
public String getFormattedValue(float value) {
return value+"℃";
}
});
enter image description here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With