echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] [support]求教如何在treemap中实现其每个item的内部文字自动截断,不用省略号的方式?

Open LSQFOREVER1994 opened this issue 3 years ago • 2 comments

Version

5.3

Link to Minimal Reproduction

No response

Steps to Reproduce

1662434366184

Current Behavior

在treemap中,有些区域过小无法放下内部的文字,产品要求不使用省略号的方式实现内部文字截断。

Expected Behavior

我也想实现内部每个方块的文字都超出截断。

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

LSQFOREVER1994 avatar Sep 06 '22 03:09 LSQFOREVER1994

@LSQFOREVER1994 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] [support] How to implement the internal text of each item in the treemap to automatically truncate the internal text without ellipsis?

BODY

Version

5.3

Link to Minimal Reproduction

No response

Steps to Reproduce

1662434366184

Current Behavior

In treemap, some areas are too small to put down the internal text, and the product requires that the internal text be truncated without using ellipses.

Expected Behavior

I also want to implement that the text inside each square is beyond truncation.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] avatar Sep 06 '22 03:09 echarts-bot[bot]

或者能否实现最小不能少于某个值,类似饼图中的minAngle、minSize这样的

LSQFOREVER1994 avatar Sep 06 '22 09:09 LSQFOREVER1994