This commit is contained in:
qianming
2022-01-24 10:38:25 +08:00
parent 4fa13f3568
commit be516176a0

View File

@@ -387,19 +387,6 @@ export default {
title.textStyle["rich"] = rich;
this.options.title = title;
},
setOptions() {
const optionsSetup = this.optionsSetup;
const series = this.options.series;
for (const key in series) {
if (series[key].type == "gauge") {
series[key].axisLine.lineStyle.width = optionsSetup.tickMarkWeight;
series[key].axisLabel.show = optionsSetup.showScaleValue;
series[key].axisLabel.fontSize = optionsSetup.scaleFontSize;
series[key].axisTick.show = optionsSetup.showTickMarks;
series[key].detail.textStyle.fontSize = optionsSetup.targetFontSize;
}
}
},
//圆环0-100%颜色
setOptionsColor() {
const optionsSetup = this.optionsSetup;