如果aChartengine饼图为空,如何显示自定义TextView?我注意到你不能做ListView,你有什么建议吗?
我在LinearLayout中显示图表:
chartContainer = (LinearLayout)view.findViewById(R.id.chart_container);
// Getting PieChartView to add to the custom layout
mChartView = ChartFactory.getPieChartView(getActivity(),distributionSeries, defaultRenderer);
// Adding the pie chart to the custom layout
chartContainer.addView(mChartView);