private PieData generateDataPie(int cnt){
  ArrayList<Entry> entries=new ArrayList<Entry>();
  for (int i=0; i < 4; i++) {
    entries.add(new Entry((int)(Math.random() * 70) + 30,i));
  }
  PieDataSet d=new PieDataSet(entries,"");
  d.setSliceSpace(2f);
  d.setColors(ColorTemplate.VORDIPLOM_COLORS);
  PieData cd=new PieData(getQuarters(),d);
  return cd;
}

private PieData generateDataPie ( int cnt ) { ArrayList < Entry > entries = new ArrayList < Entry > ( ) ; for ( int i = 0 ; i < 4 ; i ++ ) { entries . add ( new Entry ( ( int ) ( Math . random ( ) * 70 ) + 30 , i ) ) ; } PieDataSet d = new PieDataSet ( entries , "" ) ; d . setSliceSpace ( 2f ) ; d . setColors ( ColorTemplate . VORDIPLOM_COLORS ) ; PieData cd = new PieData ( getQuarters ( ) , d ) ; return cd ; }
generates a random chartdata object with just one dataset
