title: Gradient Color to MPAndroid Barchart
body: <p>I want to use my custom gradient for MPAndroid Bar chart. I have made my custom drawable color as below:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;item android:id="@android:id/progress"&gt;
      &lt;clip
          android:clipOrientation="vertical"
          android:gravity="bottom"&gt;
          &lt;shape&gt;
              &lt;gradient
                  android:startColor="#00AEEE"
                  android:centerColor="#0086CA"
                  android:endColor="#315AA6"
                  android:angle="90" /&gt;
          &lt;/shape&gt;
      &lt;/clip&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>I tried assigning it to my barchart as follows:
  barDataSet.setColor(R.drawable.gradient_color);
  Another issue is that I want to display Right Side YAxis label from 0-10.9 . but it is dynamically changing to points close to minimum, i mean to say, if my minimum result is 6 den it skips numbers below 6</p>
  
  <p><a href="https://i.stack.imgur.com/VM6sr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VM6sr.png" alt="enter image description here"></a></p>
  
  <p>But it is not what i want. I want my result to be like below:
  <a href="https://i.stack.imgur.com/oFm6X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oFm6X.png" alt="enter image description here"></a></p>