Open MeMeMax opened 2 years ago
This issue is labeled with difficulty: easy
.
@MeMeMax Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
Please have a look at How to debug ECharts if you'd like to give a try. 🤓
I didn't seem to find a problem when I tried it, was this problem solved? Is this the expected effect?
(English is not my native language; please excuse typing errors.😁)
Version
5.3.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=heatmap-cartesian
Steps to Reproduce
Copy this code into the example
Pull the Heatmap view smaller
Play around with series[0].label.width property
Current Behavior
Currently we have to set a fixed width for truncating the value of each cell. This results in the following behaviour:
Either the value is smaller than the width and it is displayed. Or the value is larger than the width. Then ellipsis is displayed.
Expected Behavior
I would expect that the width can be dynamic so that the value is truncated if there is not enough space and not truncated if there is enough space.
Environment
Any additional comments?
No response