title: How to change chart background with MPAndroidChart library?
body: <p>I'm using the amazing library <a href="https://github.com/PhilJay/MPAndroidChart" rel="noreferrer"><strong>MPAndroidChart</strong></a>. It works like a charm, except when I'm trying to change the background color of the BarData. Default color is white, and I want to change it to Transparent.</p>
  
  <p>I've tried this :</p>
  
  <pre><code>Paint p1 = mChart.getPaint(Chart.PAINT_GRID_BACKGROUND);
  p1.setColor(Color.RED);
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>&lt;com.github.mikephil.charting.charts.BarChart
          android:id="@+id/chart1"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@android:color/transparent"/&gt;
  </code></pre>
  
  <p>... but it seems that doesnt works.</p>
  
  <p>Any ideas ?</p>
  
  <p>Thanks =)</p>