Skip to content

[Bug] legend不对齐的问题 #19417

@lllianreg

Description

@lllianreg

Version

5.4.3

Link to Minimal Reproduction

none

Steps to Reproduce

none

Current Behavior

image
发现通过api怎么设置都无法实现legend属性的 文字和图案的居中对齐

Expected Behavior

可以居中对齐

类似下面css的效果
display: flex; justify-content: center;

Environment

- OS:windows11
- Browser:Chrome 
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmissing-demoThe author should provide a demo.pendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions