Skip to content

geo3D 如果添加 tooltip, 鼠标经过地图会报错 #65

@succulen-plants

Description

@succulen-plants
    var option = {
        tooltip: {
                    trigger: 'item',
                    formatter: (data)=>{
                        console.log(data);
                        // return data.seriesName+"<br />"+data.name+":"+data.value[2];
                    }
        },
         geo3D: {
                    map: 'henan',
                    boxWidth: 80,
                    boxHeight: 2,
                    bottom:0,
                },
    };

当鼠标经过地图时, 报错:Uncaught TypeError: Cannot read property 'getData' of undefined,
本来地图上有柱型图, 需要显示tooltip。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions