Skip to content

[Bug] Legend overlaps axis labels #21662

Description

@nuke-ellington

Version

6.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-stack

Steps to Reproduce

The behaviour can be observed in the example for stacked line chart in the official docs.
Have also observed it in bar charts.

Current Behavior

Axis labels get obscured by chart legend.

Expected Behavior

No overlap without additional config

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

Workaround:

legend: {
    bottom: 0,
    padding: [0,0,2,0]
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe 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