Skip to content

极坐标系下 柱状图不支持 borderRadius #9085

@realeve

Description

@realeve
option = {
    angleAxis: {
    },
    radiusAxis: {
        type: 'category',
        data: ['周一', '周二', '周三', '周四']
    },
    polar: {
    },
    series: [{
        type: 'bar',
        data: [2, 3, 3, 4],
        coordinateSystem: 'polar',
        barMaxWidth:20,
        itemStyle: {
            normal: {
                barBorderRadius: 10
            }
        }
    }]
};

image

笛卡尔坐标系正常

option = {
    yAxis: {
    },
    xAxis: {
        type: 'category',
        data: ['周一', '周二', '周三', '周四']
    },
    series: [{
        type: 'bar',
        data: [2, 3, 3, 4],
        barMaxWidth:20,
        itemStyle: {
            normal: {
                barBorderRadius: 10
            }
        }
    }]
};

image

Other comments [其他信息]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions