Echarts cooperates with Amap to realize scatter plot

problem description

echarts cooperates with Amap to realize scatter plot: visual mapping components are confused after clicking

related codes

/ / Please paste the code text below (do not replace the code with pictures)

var series = [
        {
            name: "",
            type: "effectScatter", //  
            // type: "scatter", //  
            hoverAnimation: true,
            coordinateSystem: "amap",
            //[{name : ***, value : ***}]
            data: res,
            hoverAnimation: true,
            symbolSize: 8,
            //
            label: {
                emphasis: {
                    show: false
                },
                large: true,
            }
        }
    ];

what result do you expect? What is the error message actually seen?

what I need is that when you set the property to scatter , the visual mapping component will not be confused when clicked

Jul.02,2022

looked up the official documents of echarts

Only three values of 'cartesian2d','polar','geo'' can be selected for the coordinateSystem of

scatter. The same is true of
effectScatter.

Why did you use 'amap'??

Menu