apache / apache/echarts

Prevent overlap of grid and legend

Open
#14,252 15 comments 31 reactions 0 assignees View on GitHub
bug missing-demo pending waiting-for: author
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version
5.0.2

### Steps to reproduce
As you add more series, the legend overlaps the grid. It does not make sense to hard-code margins for every graph. That makes it impossible to programmatically create graphs based on arbitrary data.

### What is expected?
There should be a way to have the legend and grid resize appropriately based on the data in the legend. Another option would be to allow fixed sizes of each, but allow more than one row for a scroll style legend. This should be more dynamic rather than just fixed values.

### What is actually happening?
The legend overlaps the grid.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.