[Bug] Legend do not break in VisualMap piecewise option
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.3.3
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=calendar-heatmap
### Steps to Reproduce
Hi,
I was trying to use VisualMap with piecewise option, however, not all the legends are visible, see the image below:

Is it possible to auto break the legend, or manually define the number of columns?
### Current Behavior
The VisualMap legend does not fit into the screen.
### Expected Behavior
Automatically break the legend if doesn't fit.
### Environment
```markdown
- OS:Android
- Browser: Chrome
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.