How to show only avg and max values in labels on Y axis using MPAndroidChart?
I have graph which show speed value on Y axis. I want to show exactly 2 values: avg value (i. e. middle value label) and max value. I'm using YAxis.setLabelCount(2) to set only two labels on Axis. But graph always showing me min value and another one or two values. The behavior that i want:
If we have max speed 2.4 miles (or km) - show label with max speed. Also show half from this speed label (1.2)
https://i.stack.imgur.com/MfTty.png▾