Skip to content

Commit ee1fc5a

Browse files
committed
feat: charts css
1 parent 00a4280 commit ee1fc5a

File tree

1 file changed

+11
-1
lines changed
  • frontend/src/views/chat/component/charts

1 file changed

+11
-1
lines changed

frontend/src/views/chat/component/charts/Bar.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,17 @@ export class Bar extends BaseG2Chart {
7070
labelAutoWrap: true,
7171
labelAutoEllipsis: true,
7272
},
73-
y: { title: y[0].name },
73+
y: {
74+
title: y[0].name,
75+
labelFontSize: 12,
76+
labelAutoHide: {
77+
type: 'hide',
78+
keepHeader: true,
79+
},
80+
labelAutoRotate: false,
81+
labelAutoWrap: true,
82+
labelAutoEllipsis: true,
83+
},
7484
},
7585
scale: {
7686
x: {

0 commit comments

Comments
 (0)