Skip to content

bar series under polar coordinate cant show label property #14616

@robothn2

Description

@robothn2

Version

5.0.2

Steps to reproduce

in example editor, input follow codes:

option = {
    angleAxis: {
        type: 'category',
        axisLine: {show: false},
        axisTick: {show: false},
        splitLine: {show: true, lineStyle: {type: 'dashed' }},
        axisLabel: {color: 'blue'},
        data: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'],
    },
    radiusAxis: {
        type: 'value',
        axisLine: {show: false},
        axisTick: {show: false},
        axisLabel: {show: false},
        splitLine: {width: 1, lineStyle: { type: 'dashed' }}
    },
    polar: {},
    series: [{
        type: 'bar',
        barCategoryGap: 1,
        label: { show: true, position: 'insideTop', color: 'cyan', formatter: '{c}' },
        itemStyle: { color: 'red', opacity: 0.30},
        data: [6000, 5900, 5300, 5012, 5110, 2387, 3277, 2373, 1238, 1000],
        coordinateSystem: 'polar',
    }]
};

What is expected?

bar label shown as it under cartesian coordinates

What is actually happening?

no any label shown

Metadata

Metadata

Assignees

No one assigned

    Labels

    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