|
@@ -592,7 +592,7 @@
|
|
|
{
|
|
|
name: '审批次数',
|
|
|
type: 'pie',
|
|
|
- radius: ['50%', '75%'],
|
|
|
+ radius: ['35%', '55%'],
|
|
|
center: ['50%', '50%'],
|
|
|
avoidLabelOverlap: false,
|
|
|
data: [
|
|
@@ -615,7 +615,9 @@
|
|
|
};
|
|
|
function optionRadius() {
|
|
|
if ($(window).outerWidth() > 1366) {
|
|
|
- if ($('#jechart').outerWidth() < 320) {
|
|
|
+ if ($('#jechart').outerWidth() - $('#jechart').outerHeight() < 90) {
|
|
|
+ option.series[0].radius = ['35%', '55%'];
|
|
|
+ } else if ($('#jechart').outerWidth() < 320) {
|
|
|
option.series[0].radius = ['35%', '60%'];
|
|
|
} else if ($('#jechart').outerWidth() < 330) {
|
|
|
option.series[0].radius = ['40%', '65%'];
|