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