|
@@ -12,6 +12,7 @@ export default {
|
12
|
12
|
encode: { type: Array, required: true },
|
13
|
13
|
yAxisName: { type: String },
|
14
|
14
|
xlabelFormat: { type: Function },
|
|
15
|
+ rotate: {type: Number, default: 0},
|
15
|
16
|
tooltipFormat: { type: Function },
|
16
|
17
|
colorIdx: { type: Number },
|
17
|
18
|
colors: { type: Array, default: () => colors },
|
|
@@ -72,6 +73,7 @@ export default {
|
72
|
73
|
color: "#59BEED",
|
73
|
74
|
fontSize: this.labelSize,
|
74
|
75
|
interval: 0,
|
|
76
|
+ rotate: this.rotate || 0, //文字旋转
|
75
|
77
|
},
|
76
|
78
|
axisLine: {
|
77
|
79
|
lineStyle: {
|