echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Legend do not break in VisualMap piecewise option

Open JonasHass opened this issue 3 years ago • 1 comments

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: Screenshot_20220916-065927_Chrome

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

- OS:Android
- Browser: Chrome 
- Framework:

Any additional comments?

No response

JonasHass avatar Sep 16 '22 04:09 JonasHass

Currently, there is no way to do this.

Ovilia avatar Sep 22 '22 04:09 Ovilia

Here is a reproduction if anyone needs it: https://jsfiddle.net/90y1oc4x/

MeMeMax avatar Sep 22 '22 08:09 MeMeMax