diff --git a/frontend/src/views/chat/component/charts/Bar.ts b/frontend/src/views/chat/component/charts/Bar.ts index 339049fa..031b9605 100644 --- a/frontend/src/views/chat/component/charts/Bar.ts +++ b/frontend/src/views/chat/component/charts/Bar.ts @@ -70,7 +70,17 @@ export class Bar extends BaseG2Chart { labelAutoWrap: true, labelAutoEllipsis: true, }, - y: { title: y[0].name }, + y: { + title: y[0].name, + labelFontSize: 12, + labelAutoHide: { + type: 'hide', + keepHeader: true, + }, + labelAutoRotate: false, + labelAutoWrap: true, + labelAutoEllipsis: true, + }, }, scale: { x: {