How to set axis minimum and maximum in MPAndroidChart?
<p>I am using <a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow noreferrer">MPAndroidChart</a>.</p>

<p>Below is my code, Still i see Y-AXIS plotting starts from 0. do help..</p>

<pre><code>YAxis leftAxis = mChart.getAxisLeft();
leftAxis.setAxisMaxValue(1500f);
leftAxis.setAxisMinValue(1200f); 
leftAxis.setStartAtZero(false);
</code></pre>

<p>Thanks
amit</p>