diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts index 2f20ecc1b8..7d61906ee7 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/bar/bar.ts @@ -570,6 +570,7 @@ export class GroupBar extends StackBar { super(name) this.baseOptions = { ...this.baseOptions, + marginRatio: 0, isGroup: true, isStack: false, meta: { diff --git a/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts b/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts index 5912b3fe71..b9ceb619bf 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/charts/others/chart-mix.ts @@ -129,6 +129,7 @@ export class ColumnLineMix extends G2PlotChartView { geometryOptions: [ { geometry: data1Type, + marginRatio: 0, color: [], isGroup: isGroup, isStack: isStack,