Skip to content

[Bug] title.textStyle.ellipsis config not working #18517

@CWS-CTRL

Description

@CWS-CTRL

Version

5.4.2

Link to Minimal Reproduction

https://codepen.io/cws-ctrl/pen/MWPyZjY

Steps to Reproduce

Problem

title.textStyle.ellipsis config not working

Read the source code and discover
p99qm80.png
Even if you show "ellipsis" set in the echarts configuration,
this operation also causes the final output to have no "ellipsis" attribute,
then you end up with the default value "..."

Scheme

You can add it to the second parameter of the createTextStyle function
ellipsis: textStyleModel.getShallow.('ellipsis')
There may be more than one error

Current Behavior

not working

Expected Behavior

docs: Ellipsis to be displayed when overflow is set to truncate.

'truncate' Truncate the overflow lines.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

Or maybe it's just me

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions