Skip to content

[Bug] 散点图在极坐标中展示不全 #16328

@yishangtanhuan

Description

@yishangtanhuan

Version

所有版本

Link to Minimal Reproduction

https://www.makeapie.com/editor.html?c=xNWkC5gbUM&v=1

Steps to Reproduce

var hours = [
    '0',
    '1',
    '2',
    '3',
    '4',
    '5',
    '6',
    '7',
    '8',
    '9',
    '10',
    '11',
    '12',
    '13',
    '14',
    '15',
    '16',
    '17',
    '18',
    '19',
    '20',
    '21',
    '22',
    '23',
];

var data = [
    [25, 0, 15],
    [25, 1, 15],
    [25, 2, 15],
    [25, 3, 15],
    [25, 4, 15],
    [25, 5, 15],
    [25, 6, 15],
];

option = {
    polar: {},
    angleAxis: {
        type: 'category',
        data: hours,
        boundaryGap: false,
        splitLine: {
            show: true,
            lineStyle: {
                color: '#ddd',
                type: 'dashed',
            },
        },
        axisLine: {
            show: false,
        },
    },
    radiusAxis: {
        type: 'value',
        axisLine: {
            show: false,
        },
        axisLabel: {
            rotate: 45,
        },
    },
    series: [
        {
            name: 'Punch Card',
            type: 'scatter',
            coordinateSystem: 'polar',
            data: data,
        },
    ],
};

Current Behavior

所有点的径向轴值与径向轴的最大值一样,但是部分点没渲染

Expected Behavior

期望所有点都能展示

Environment

- OS:window 10
- Browser: chrome 96
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions