Skip to content

markPoint bug #13610

@indexlang

Description

@indexlang

Version

4.9.0

Steps to reproduce

the option :

option = {
    xAxis: {
        show:false,
        type: 'category',
// comment this line        
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    },
    yAxis: {
        show:false,
        type: 'value'
    },
    series: [{
        data: [820, 932, 391, 934, 1290, 2330, 1320],
        type: 'line',
areaStyle: {
                color: 'white'
            },       
            lineStyle:{color : "#8ec6ad"},
        symbol: 'none',
        markPoint: {
                data: [
                    {type: 'max', name: 'max'},
                    {type: 'min', name: 'min'}
                ]
            },
        smooth: true
    }]
};

What is expected?

when I comment the xAxis.data,the markPoint do not disappear

What is actually happening?

when I comment the xAxis.data,the markPoint disappear

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: author

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions