Skip to content

Legends at the bottom of graphs #14724

@robertjorg

Description

@robertjorg

Version

5.0.2

Reproduction link

https://github.com/robertjorg/legend-overlap

Steps to reproduce

I tried recreating with 5.2 but eCharts was giving me errors when trying to run. I was able to recreate the issue on the examples and have attached a github project displaying the issue.

Create a chart with a large legend section.

What is expected?

The legend should move to the bottom of the graph and expand how much space is at the bottom of the graph.

What is actually happening?

The legend will overlap with the actual graph when multiple lines in the legend are present. You are able to fix this by expanding the bottom size of the grid.


We have a need to have dynamic legends. It would be nice if the legend would attach the top of the legend to the bottom of the graph and expand the bottom of the grid accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion-requiredFurther discussion is required before we decide if this issue should be fixed.enThis issue is in Englishenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions