mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 12:26:22 +00:00
fix(data-vi): dual axes chart displays abnormally (#3881)
This commit is contained in:
parent
89733247bd
commit
198a969bba
@ -68,7 +68,7 @@ export class DualAxes extends G2PlotChart {
|
|||||||
getProps({ data, general, advanced, fieldProps }: RenderProps) {
|
getProps({ data, general, advanced, fieldProps }: RenderProps) {
|
||||||
const props = super.getProps({ data, general, advanced, fieldProps });
|
const props = super.getProps({ data, general, advanced, fieldProps });
|
||||||
return {
|
return {
|
||||||
...lodash.omit(props, ['legend', 'tooltip']),
|
...lodash.omit(props, ['legend', 'tooltip', 'yField']),
|
||||||
children:
|
children:
|
||||||
props.yField?.map((yField: string, index: number) => {
|
props.yField?.map((yField: string, index: number) => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user