qianming 3 years ago
parent 4fa13f3568
commit be516176a0

@ -387,19 +387,6 @@ export default {
title.textStyle["rich"] = rich; title.textStyle["rich"] = rich;
this.options.title = title; 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% //0-100%
setOptionsColor() { setOptionsColor() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;

Loading…
Cancel
Save