echarts When the type of legend is scroll, support LineClamp similar to css.

rmbxnbpk  于 4个月前  发布在  Echarts
关注(0)|答案(5)|浏览(63)

What problem does this feature solve?

In the mobile, the legend type is set to scroll. few legends can be immediately displayed, I want to have a lineClamp parameter to control the legend's overflow.

What does the proposed API look like?

LineClamp like css

im9ewurl

im9ewurl1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

xbp102n0

xbp102n02#

Sorry, I didn't quite understand your requirement. What do you mean by lineClamp ? Can you provide an image or demo of the expected result?

velaa5lx

velaa5lx3#

@Ovilia The line-clamp property truncates legend at a specific number of lines.

rpppsulh

rpppsulh4#

Any predictions on when this will be implemented?

ars1skjm

ars1skjm5#

Any solution for this?

相关问题