diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/dualAxes.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/dualAxes.ts index 656c98c462..d187db9338 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/dualAxes.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/dualAxes.ts @@ -68,7 +68,7 @@ export class DualAxes extends G2PlotChart { getProps({ data, general, advanced, fieldProps }: RenderProps) { const props = super.getProps({ data, general, advanced, fieldProps }); return { - ...lodash.omit(props, ['legend', 'tooltip']), + ...lodash.omit(props, ['legend', 'tooltip', 'yField']), children: props.yField?.map((yField: string, index: number) => { return {