Skip to content

Commit 1094835

Browse files
committed
Merge branch 'fix/line-time' of github.com:aliyun/alibabacloud-console-chart
2 parents eb6c1bd + 01e2210 commit 1094835

File tree

1 file changed

+1
-0
lines changed
  • packages/console-shared-utils/src/g2Helper

1 file changed

+1
-0
lines changed

packages/console-shared-utils/src/g2Helper/axisX.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default function(chart: any, config: any, componentConfig?: any) {
99
const xAxisConfig = other;
1010

1111
if (rotate) {
12+
if (!xAxisConfig.label) xAxisConfig.label = {};
1213
xAxisConfig.label.textStyle = {
1314
textAlign: 'start',
1415
rotate,

0 commit comments

Comments
 (0)