Skip to content

Clipping the bar outside of the grid #13321

@Remy-J

Description

@Remy-J

Version

4.6.0

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xs9BT4SnHR&v=1

Steps to reproduce

use this conf:

option = {
    legend: {},
    tooltip: {},
    dataset: {
        source: [
            ['val', 'id'],
            [0, 1234],
            [4, 12345]
        ]
    },
    xAxis: {type: 'value'},
    yAxis: {},
    series: [
        {type: 'bar'}
    ]
};

What is expected?

the graph is expected to be consistent

What is actually happening?

the layout is broken.
the columns come out of the graph and their size is not good

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions