title: pie chart without static values
body: <p>public class MainActivity extends AppCompatActivity {
  private PieChart pieChart;</p>
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
     /* barChart=findViewById(R.id.bargraph);
      retrieveData();*/
      pieChart=findViewById(R.id.pieChart);
        loadPieChartData();
  }
  private void loadPieChartData(){
      ArrayList&lt;PieEntry&gt; entries = new ArrayList&lt;&gt;();
      entries.add(new PieEntry(0.2f,&quot;&quot;));
      entries.add(new PieEntry(0.10f,&quot;&quot;));
      entries.add(new PieEntry(7f,&quot;&quot;));
      entries.add(new PieEntry(10f,&quot;&quot;));
      entries.add(new PieEntry(8f,&quot;&quot;));
  </code></pre>