Skip to content

lineOverflow:'truncate' cannot be implemented properly #15248

@lvhuiru520

Description

@lvhuiru520

Version

5.1.2

Steps to reproduce

xAxis: [
                {
                    type: "category",
                    axisTick: {
                        alignWithLabel: true,
                    },
                    axisLabel: {
                        show: true,
                        width: 100,
                        height:30,
                        overflow: "break",
                        lineOverflow:'truncate',
                        interval: 0,
                        showMinLabel: false,
                        align: "center",
                    },
                },
            ],

What is expected?

Displaying ellipsis by truncation of the height set

What is actually happening?

Set height text overflow, ellipsis not displayed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions