List<String> titles = new ArrayList<>();
List<PieEntry> entrys=new ArrayList<>()
for (int i = 0; i < mData.obj.size(); i++) {
entrys.add(new PieEntry(pieBean.value,i));
}
IPieDataSet dataSet = new PieDataSet(entrys,"");
PieData pieData=new PieData(dataSet);
List<PieEntry> entrys=new ArrayList<>()
for (int i = 0; i < mData.obj.size(); i++) {
entrys.add(new PieEntry(pieBean.value,i));
}
IPieDataSet dataSet = new PieDataSet(entrys,"");
PieData pieData=new PieData(dataSet);
2018-05-27
List<PieEntry> entrys=new ArrayList<>();
IPieDataSet dataset=new PieDataSet(entrys,"");
entrys.add(new PieEntry(3123,"hello"));
应该是最新的构造方法
IPieDataSet dataset=new PieDataSet(entrys,"");
entrys.add(new PieEntry(3123,"hello"));
应该是最新的构造方法
2017-09-08
dataSet.setColors(new int[]{Color.rgb(216,77,719), Color.rgb(183,56,63), Color.rgb(247,85,47)});
好玩~
好玩~
2017-07-27