Skip to content

[Bug] bar series with border and borderRadius in itemStyle, when set borderRadius like [0,0,0,0], the left-top corner disappear #21595

@lovelybj3

Description

@lovelybj3

Version

5.5.1

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=bar-simple

Steps to Reproduce

option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [120, 200, 150, 80, 70, 110, 130], type: 'bar', itemStyle: { borderWidth: 10, borderColor: '#f00', borderRadius: [ 0, 0, 0, 0 ] } } ] };

Current Behavior

the left-top corner disappear

Expected Behavior

the left-top corner shows

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in English

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions