In MPAndroidChart negative values are not displayed on chart coordinates

Viewed 3599
3 Answers

setStartAtZero is deprecated.

if you get the values from database, try this:

    //your Y values
    float min = Collections.min(arrayY);

    //set your min value like this
    leftAxis.setAxisMinimum(min);
Related