//标签,并且非0显示,加在series中
itemStyle: {
normal: {
label: {
show: true,
position: 'top',
textStyle: {
color: '#615a5a'
},
formatter:function(params){
if(params.value==0){
return '';
}else
{
return params.value;
}
}
}
}
},
public static void copy(File source, File target) {
File tarpath = new File(target, source.getName());
if (source.isDirectory()) {
tarpath.mkdir();
File[] dir = source.listFiles();
for (int i = 0; i < dir.length; i++) {
copy(dir[i], tarpath);
}