|
|
@ -179,6 +179,17 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 轴反转
|
|
|
|
// 轴反转
|
|
|
|
inverse: optionsSetup.reversalX,
|
|
|
|
inverse: optionsSetup.reversalX,
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
show: true,
|
|
|
|
|
|
|
|
interval: optionsSetup.textInterval,
|
|
|
|
|
|
|
|
// 文字角度
|
|
|
|
|
|
|
|
rotate: optionsSetup.textAngleX,
|
|
|
|
|
|
|
|
textStyle: {
|
|
|
|
|
|
|
|
// 坐标文字颜色
|
|
|
|
|
|
|
|
color: optionsSetup.colorX,
|
|
|
|
|
|
|
|
fontSize: optionsSetup.fontSizeX,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
axisLine: {
|
|
|
|
axisLine: {
|
|
|
|
show: true,
|
|
|
|
show: true,
|
|
|
|
lineStyle: {
|
|
|
|
lineStyle: {
|
|
|
@ -519,7 +530,9 @@ export default {
|
|
|
|
return str
|
|
|
|
return str
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (optionsSetup.textRowsBreakAuto) {
|
|
|
|
this.options.xAxis.axisLabel = axisLabel;
|
|
|
|
this.options.xAxis.axisLabel = axisLabel;
|
|
|
|
|
|
|
|
}
|
|
|
|
this.options.series = series;
|
|
|
|
this.options.series = series;
|
|
|
|
this.options.xAxis.data = xAxisList;
|
|
|
|
this.options.xAxis.data = xAxisList;
|
|
|
|
this.options.yAxis.data = [];
|
|
|
|
this.options.yAxis.data = [];
|
|
|
@ -650,7 +663,9 @@ export default {
|
|
|
|
return str
|
|
|
|
return str
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (optionsSetup.textRowsBreakAuto) {
|
|
|
|
this.options.xAxis.axisLabel = axisLabel;
|
|
|
|
this.options.xAxis.axisLabel = axisLabel;
|
|
|
|
|
|
|
|
}
|
|
|
|
this.options.series = series;
|
|
|
|
this.options.series = series;
|
|
|
|
this.options.legend["data"] = legendName;
|
|
|
|
this.options.legend["data"] = legendName;
|
|
|
|
this.setOptionsLegendName(legendName);
|
|
|
|
this.setOptionsLegendName(legendName);
|
|
|
|