|
@@ -422,11 +422,11 @@ export default {
|
|
|
this.center[1] = (dep * 1.5) + '0%';
|
|
this.center[1] = (dep * 1.5) + '0%';
|
|
|
|
|
|
|
|
}else if (newWidth > 500 && newWidth < 1000) {
|
|
}else if (newWidth > 500 && newWidth < 1000) {
|
|
|
- this.center[0] = '-10%';
|
|
|
|
|
|
|
+ this.center[0] = '-30%';
|
|
|
this.center[1] = (dep) + '0%';
|
|
this.center[1] = (dep) + '0%';
|
|
|
|
|
|
|
|
} else if (newWidth > 1000){
|
|
} else if (newWidth > 1000){
|
|
|
- this.center[0] = elesArr.length > 60 ? newWidth * 1.2 : newWidth * 0.6;
|
|
|
|
|
|
|
+ this.center[0] = elesArr.length > 60 ? newWidth * 1.5 : newWidth * 1.2;
|
|
|
this.center[1] = (dep ) + '0%';
|
|
this.center[1] = (dep ) + '0%';
|
|
|
}
|
|
}
|
|
|
this.chartWidth = newWidth;
|
|
this.chartWidth = newWidth;
|