title: MPAndroidChart white Background
body: <p>I am using the <a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow">MPAndroidChart</a> library. I am setting the multi line chart with data using MPAndroidChart. It's working great but the background is coming white. This is what i am doing  </p>
  
  <pre><code>        nhChart = new LineChart(getActivity());
          nhChart.setDescription("Number of Hits View");
          nhChart = (LineChart) hitsView.findViewById(R.id.line_chart_number_of_hits);
  
          //int color = Color.parseColor("#80101010");
          nhChart.setBackgroundColor(Color.parseColor("#80101010"));
          //nhChart.setBackgroundResource(R.drawable.background_portrate);
          //nhChart.setBackground(getResources().getDrawable(R.drawable.background_portrate));
  
          nhChart.setStartAtZero(true);   
          nhChart.setDrawBorder(true);
  
          nhChart.setNoDataTextDescription("No Data available for Charts");
  
          nhChart.setDrawYValues(false);
          nhChart.setDrawBorder(true);
          nhChart.setScaleEnabled(true);
  
          nhChart.setHighlightEnabled(false);
          nhChart.setTouchEnabled(true);
          //nhChart.setGridColor(Color.WHITE &amp; 0x70FFFFFF);
          //nhChart.setDragScaleEnabled(true);    
          nhChart.setPinchZoom(true);
  
          setData(valueDate.size(),10000);
          nhChart.animateX(2500);
  
          Legend l = nhChart.getLegend();
          l.setForm(LegendForm.CIRCLE);
          l.setFormSize(6f);
          l.setTextColor(Color.WHITE);
  
          YLabels y = nhChart.getYLabels();
          y.setTextColor(Color.WHITE);
          y.setLabelCount(6);
  
          XLabels x1 = nhChart.getXLabels();
          x1.setCenterXLabelText(true);
          x1.setPosition(XLabelPosition.BOTTOM);
          x1.setTextColor(Color.WHITE);
  </code></pre>
  
  <p>I am plotting line graphs in post execute method of AsyncTask in a fragment viewpager. Other fragment showing the graph shows the same white background. I tried setting a color for the background but nothing works. I also left it blank, but its still showing me the white background. I also updated the latest Jar but its not works. Please help.
  Here is the image how it looks</p>