|
|
@ -367,7 +367,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
series.push({
|
|
|
|
series.push({
|
|
|
|
name: yAxisList[i],
|
|
|
|
name: yAxisList[i],
|
|
|
|
showBackground: optionsSetup.isShowBackground,
|
|
|
|
|
|
|
|
type: "bar",
|
|
|
|
type: "bar",
|
|
|
|
data: data,
|
|
|
|
data: data,
|
|
|
|
barGap: "0%",
|
|
|
|
barGap: "0%",
|
|
|
@ -389,9 +388,21 @@ export default {
|
|
|
|
barBorderRadius: optionsSetup.radius,
|
|
|
|
barBorderRadius: optionsSetup.radius,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
//柱体背景属性
|
|
|
|
|
|
|
|
showBackground: optionsSetup.isShowBackground,
|
|
|
|
|
|
|
|
backgroundStyle: {
|
|
|
|
|
|
|
|
color: optionsSetup.backgroundStyleColor,
|
|
|
|
|
|
|
|
borderColor: optionsSetup.backgroundStyleBorderColor,
|
|
|
|
|
|
|
|
borderWidth: optionsSetup.backgroundStyleBorderWidth,
|
|
|
|
|
|
|
|
borderType: optionsSetup.backgroundStyleBorderType,
|
|
|
|
|
|
|
|
shadowBlur: optionsSetup.backgroundStyleShadowBlur,
|
|
|
|
|
|
|
|
shadowColor: optionsSetup.backgroundStyleShadowColor,
|
|
|
|
|
|
|
|
opacity: optionsSetup.backgroundStyleOpacity / 100,
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
legendName.push(yAxisList[i]);
|
|
|
|
legendName.push(yAxisList[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log(series)
|
|
|
|
this.options.series = series;
|
|
|
|
this.options.series = series;
|
|
|
|
if (optionsSetup.verticalShow) {
|
|
|
|
if (optionsSetup.verticalShow) {
|
|
|
|
this.options.xAxis.data = [];
|
|
|
|
this.options.xAxis.data = [];
|
|
|
@ -471,6 +482,17 @@ export default {
|
|
|
|
barBorderRadius: optionsSetup.radius,
|
|
|
|
barBorderRadius: optionsSetup.radius,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
//柱体背景属性
|
|
|
|
|
|
|
|
showBackground: optionsSetup.isShowBackground,
|
|
|
|
|
|
|
|
backgroundStyle: {
|
|
|
|
|
|
|
|
color: optionsSetup.backgroundStyleColor,
|
|
|
|
|
|
|
|
borderColor: optionsSetup.backgroundStyleBorderColor,
|
|
|
|
|
|
|
|
borderWidth: optionsSetup.backgroundStyleBorderWidth,
|
|
|
|
|
|
|
|
borderType: optionsSetup.backgroundStyleBorderType,
|
|
|
|
|
|
|
|
shadowBlur: optionsSetup.backgroundStyleShadowBlur,
|
|
|
|
|
|
|
|
shadowColor: optionsSetup.backgroundStyleShadowColor,
|
|
|
|
|
|
|
|
opacity: optionsSetup.backgroundStyleOpacity / 100,
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
legendName.push(val.series[i].name);
|
|
|
|
legendName.push(val.series[i].name);
|
|
|
|