Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Bush return item error #3609

Open
pairone opened this issue Dec 25, 2024 · 4 comments
Open

[Bug] Bush return item error #3609

pairone opened this issue Dec 25, 2024 · 4 comments
Assignees
Labels
bug Something isn't working high priority

Comments

@pairone
Copy link
Contributor

pairone commented Dec 25, 2024

Version

1.13.2

Link to Minimal Reproduction

null

Steps to Reproduce

{
    "type": "line",
    "xField": [
        "241225161506068"
    ],
    "yField": [
        "10002"
    ],
    "direction": "vertical",
    "seriesField": "20001",
    "padding": 0,
    "labelLayout": "region",
    "data": [
        {
            "id": "data",
            "values": [
                {
                    "10001": "销售额",
                    "10002": null,
                    "10003": "241224192851073",
                    "20001": "销售额",
                    "241224192851073": null,
                    "241225161506068": "NULL"
                },
                {
                    "10001": "销售额",
                    "10002": "3498777.6997537613",
                    "10003": "241224192851073",
                    "20001": "销售额",
                    "241224192851073": "3498777.6997537613",
                    "241225161506068": "二级"
                },
                {
                    "10001": "销售额",
                    "10002": "2403392.6722841263",
                    "10003": "241224192851073",
                    "20001": "销售额",
                    "241224192851073": "2403392.6722841263",
                    "241225161506068": "一级的别名"
                },
                {
                    "10001": "销售额",
                    "10002": "827490.930524826",
                    "10003": "241224192851073",
                    "20001": "销售额",
                    "241224192851073": "827490.930524826",
                    "241225161506068": "当日"
                },
                {
                    "10001": "销售额",
                    "10002": "9339292.830370903",
                    "10003": "241224192851073",
                    "20001": "销售额",
                    "241224192851073": "9339292.830370903",
                    "241225161506068": "标准级"
                }
            ],
            "fields": {
                "10001": {
                    "alias": "指标名称 "
                },
                "10002": {
                    "alias": "指标值 "
                },
                "20001": {
                    "alias": "图例项 ",
                    "domain": [
                        "销售额"
                    ],
                    "sortIndex": 0,
                    "lockStatisticsByDomain": true
                },
                "241224192851073": {
                    "alias": "销售额"
                },
                "241225161506068": {
                    "alias": "邮寄方式",
                    "domain": [
                        "标准级",
                        "当日",
                        "二级",
                        "一级的别名",
                        "NULL"
                    ],
                    "sortIndex": 0,
                    "lockStatisticsByDomain": true
                }
            }
        }
    ],
    "stackInverse": true,
    "axes": [
        {
            "type": "band",
            "tick": {
                "visible": false
            },
            "grid": {
                "visible": false,
                "style": {
                    "zIndex": 150,
                    "stroke": "#DADCDD",
                    "lineWidth": 1,
                    "lineDash": [
                        4,
                        2
                    ]
                }
            },
            "orient": "bottom",
            "visible": true,
            "domainLine": {
                "visible": true,
                "style": {
                    "lineWidth": 1,
                    "stroke": "#989999"
                }
            },
            "title": {
                "visible": false,
                "space": 5,
                "text": "邮寄方式",
                "style": {
                    "fontSize": 12,
                    "fill": "#363839",
                    "fontWeight": "normal"
                }
            },
            "maxHeight": null,
            "autoIndent": false,
            "sampling": false,
            "zIndex": 200,
            "label": {
                "visible": true,
                "space": 4,
                "style": {
                    "fontSize": 12,
                    "fill": "#6F6F6F",
                    "angle": 0,
                    "fontWeight": "normal",
                    "direction": "horizontal",
                    "maxLineWidth": 174
                },
                "autoHide": true,
                "autoHideMethod": "greedy",
                "flush": true,
                "lastVisible": true
            },
            "hover": true,
            "background": {
                "visible": true,
                "state": {
                    "hover": {
                        "fillOpacity": 0.08,
                        "fill": "#141414"
                    },
                    "hover_reverse": {
                        "fillOpacity": 0.08,
                        "fill": "#141414"
                    }
                }
            },
            "paddingInner": 0.36249999999999993,
            "paddingOuter": 0.175
        },
        {
            "type": "linear",
            "tick": {
                "visible": false,
                "style": {
                    "stroke": "rgba(255, 255, 255, 0)"
                }
            },
            "niceType": "accurateFirst",
            "zIndex": 200,
            "grid": {
                "visible": true,
                "style": {
                    "zIndex": 150,
                    "stroke": "#DADCDD",
                    "lineWidth": 1,
                    "lineDash": [
                        4,
                        2
                    ]
                }
            },
            "orient": "left",
            "visible": true,
            "domainLine": {
                "visible": true,
                "style": {
                    "lineWidth": 1,
                    "stroke": "rgba(255, 255, 255, 0)"
                }
            },
            "title": {
                "visible": false,
                "text": "销售额",
                "space": 8,
                "style": {
                    "fontSize": 12,
                    "fill": "#363839",
                    "fontWeight": "normal"
                }
            },
            "autoIndent": false,
            "sampling": false,
            "label": {
                "visible": true,
                "space": 6,
                "flush": true,
                "padding": 0,
                "style": {
                    "fontSize": 12,
                    "maxLineWidth": 174,
                    "fill": "#6F6F6F",
                    "angle": 0,
                    "fontWeight": "normal",
                    "dy": 0,
                    "direction": "horizontal"
                },
                "autoHide": true,
                "autoHideMethod": "greedy"
            },
            "background": {
                "visible": true,
                "state": {
                    "hover": {
                        "fillOpacity": 0.08,
                        "fill": "#141414"
                    },
                    "hover_reverse": {
                        "fillOpacity": 0.08,
                        "fill": "#141414"
                    }
                }
            },
            "innerOffset": {
                "top": 4.4311346272637895
            },
            "zero": true,
            "nice": true
        }
    ],
    "color": {
        "field": "20001",
        "type": "ordinal",
        "range": [
            "#2E62F1"
        ],
        "specified": {},
        "domain": [
            "销售额"
        ]
    },
    "legends": [
        {
            "type": "discrete",
            "visible": true,
            "id": "legend-discrete",
            "orient": "right",
            "position": "start",
            "layoutType": "normal",
            "maxCol": 1,
            "title": {
                "textStyle": {
                    "fontSize": 12,
                    "fill": "#6F6F6F"
                }
            },
            "layoutLevel": 60,
            "item": {
                "focus": true,
                "focusIconStyle": {
                    "size": 14
                },
                "maxWidth": 281,
                "spaceRow": 0,
                "spaceCol": 0,
                "padding": {
                    "top": 1,
                    "bottom": 2,
                    "left": 3,
                    "right": 2
                },
                "background": {
                    "visible": false,
                    "style": {
                        "fillOpacity": 0.001
                    }
                },
                "label": {
                    "style": {
                        "fontSize": 12,
                        "fill": "#6F6F6F"
                    }
                },
                "shape": {
                    "style": {
                        "lineWidth": 0,
                        "symbolType": "circle",
                        "fillOpacity": 1,
                        "size": 10
                    }
                }
            },
            "pager": {
                "type": "default",
                "layout": "horizontal",
                "padding": {
                    "left": -18
                },
                "textStyle": {},
                "space": 0,
                "handler": {
                    "preShape": "triangleLeft",
                    "nextShape": "triangleRight",
                    "style": {},
                    "state": {
                        "disable": {}
                    }
                }
            },
            "alignSelf": "end",
            "padding": {
                "top": 0,
                "bottom": 12,
                "left": 16,
                "right": 0
            }
        }
    ],
    "label": {
        "visible": false,
        "offset": 3,
        "overlap": {
            "hideOnHit": true,
            "avoidBaseMark": false,
            "strategy": {
                "type": "shiftY",
                "globalShiftY": {
                    "enable": false
                }
            },
            "clampForce": true
        },
        "style": {
            "fontSize": 12,
            "fontWeight": "normal",
            "zIndex": 400,
            "lineHeight": "100%",
            "boundsPadding": [
                1,
                0,
                0,
                0
            ],
            "fill": "#363839",
            "stroke": "rgba(255, 255, 255, 0.8)",
            "lineWidth": 2,
            "strokeOpacity": 1
        },
        "position": "top",
        "smartInvert": false
    },
    "tooltip": {
        "handler": {}
    },
    "point": {
        "style": {
            "shape": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    "circle"
                ],
                "domain": [
                    "销售额"
                ]
            },
            "size": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    7.0898154036220635
                ],
                "domain": [
                    "销售额"
                ]
            },
            "fill": {
                "field": "20001",
                "type": "ordinal",
                "range": [
                    "#2E62F1"
                ],
                "specified": {},
                "domain": [
                    "销售额"
                ]
            },
            "stroke": {
                "field": "20001",
                "type": "ordinal",
                "range": [
                    "#2E62F1"
                ],
                "specified": {},
                "domain": [
                    "销售额"
                ]
            },
            "strokeOpacity": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    1
                ],
                "domain": [
                    "销售额"
                ]
            },
            "fillOpacity": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    1
                ],
                "domain": [
                    "销售额"
                ]
            }
        },
        "state": {
            "hover": {
                "lineWidth": 2,
                "fillOpacity": 1,
                "strokeOpacity": 1,
                "scaleX": 1.5,
                "scaleY": 1.5,
                "cursor": "pointer"
            },
            "dimension_hover": {
                "visible": true
            }
        }
    },
    "line": {
        "style": {
            "curveType": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    "linear"
                ],
                "domain": [
                    "销售额"
                ]
            },
            "lineWidth": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    3
                ],
                "domain": [
                    "销售额"
                ]
            },
            "lineDash": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    [
                        0,
                        0
                    ]
                ],
                "domain": [
                    "销售额"
                ]
            }
        }
    },
    "seriesMark": "line",
    "markOverlap": true,
    "region": [
        {
            "clip": true
        }
    ],
    "background": "rgba(255, 255, 255, 0)",
    "area": {
        "style": {
            "curveType": {
                "type": "ordinal",
                "field": "20001",
                "range": [
                    "linear"
                ],
                "domain": [
                    "销售额"
                ]
            }
        }
    },
    "invalidType": "break",
    "animation": false,
    "brush": {
        "inBrush": {
            "fillOpacity": 1,
            "strokeOpacity": 1,
            "colorAlpha": 1
        },
        "outOfBrush": {
            "colorAlpha": 0.2,
            "fillOpacity": 0.3
        }
    },
    "crosshair": {
        "xField": {
            "visible": true,
            "line": {
                "type": "rect",
                "style": {
                    "fillOpacity": 0.2,
                    "fill": "#b2bacf"
                }
            }
        },
        "gridZIndex": 100
    },
    "hash": "f1ecb1ca8ef188e9d9b4d01241671a6a"
}

Current Behavior

20241225-164411.mp4

Expected Behavior

近返回框选的图元

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@pairone pairone added the bug Something isn't working label Dec 25, 2024
Copy link
Contributor

Thank you for your feedback! We have received your question and will deal with it later.
If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction!
We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction.
For participation in co-construction, please refer to: https://visactor.io/vchart/contributing/
To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group!
Thank you again for your support!
feishu-qr-code
感谢您的反馈!我们已经收到您的问题,并会在稍后处理。
如果有开发者对这个问题感兴趣,请在问题下方留言“认领此问题”。欢迎参与开源共建!
我们非常感谢每一位贡献者。提交 PR 后,我们会为参与共建的开发者准备一份礼物。
参与共建请参考:https://visactor.io/vchart/contributing/
如需与官方开发者沟通,可以下载飞书应用并扫描二维码加入飞书群!
再次感谢您的支持!

1 similar comment
Copy link
Contributor

Thank you for your feedback! We have received your question and will deal with it later.
If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction!
We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction.
For participation in co-construction, please refer to: https://visactor.io/vchart/contributing/
To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group!
Thank you again for your support!
feishu-qr-code
感谢您的反馈!我们已经收到您的问题,并会在稍后处理。
如果有开发者对这个问题感兴趣,请在问题下方留言“认领此问题”。欢迎参与开源共建!
我们非常感谢每一位贡献者。提交 PR 后,我们会为参与共建的开发者准备一份礼物。
参与共建请参考:https://visactor.io/vchart/contributing/
如需与官方开发者沟通,可以下载飞书应用并扫描二维码加入飞书群!
再次感谢您的支持!

Copy link
Contributor

Thank you for your feedback! We have received your question and will deal with it later.
If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction!
We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction.
For participation in co-construction, please refer to: https://visactor.io/vchart/contributing/
To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group!
Thank you again for your support!
feishu-qr-code
感谢您的反馈!我们已经收到您的问题,并会在稍后处理。
如果有开发者对这个问题感兴趣,请在问题下方留言“认领此问题”。欢迎参与开源共建!
我们非常感谢每一位贡献者。提交 PR 后,我们会为参与共建的开发者准备一份礼物。
参与共建请参考:https://visactor.io/vchart/contributing/
如需与官方开发者沟通,可以下载飞书应用并扫描二维码加入飞书群!
再次感谢您的支持!

@xile611
Copy link
Contributor

xile611 commented Dec 25, 2024

业务方1.8发布之前需要修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

3 participants