Skip to content

[Feature] 请问legend可以分别设置水平和垂直的间隔吗 #18967

@fssh

Description

@fssh

What problem does this feature solve?

itemGap
这个属性的官方描述是这样的:图例每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
但是经测试发现改这个值会同时改变水平和纵向间隔。

What does the proposed API look like?

希望官方提供的itemGap支持输入数组,数组项分别是水平间隔和纵向间隔,或是提供其它可行的解决方案,在此深表感谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-featurependingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions