最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How can I give the already available color in my Echart Geomap - Stack Overflow

programmeradmin1浏览0评论
series: [
                {
                    name: map_name,
                    type: "map",
                    map: map_name,
                    emphasis: {
                        label: {
                            show: true,
                        },
                        itemStyle: {
                            areaColor: null
                        },
                    },
                    roam: true,
                    aspectScale: 0.9,
                    scaleLimit: { min: 1, max: 1.3 },
                    data: this.geo_map_data,
                    select: { 
                        itemStyle : {
                            areaColor: null
                        }
                    }
                },
            ],

Here in this code the select : { itemStyle : { areaColor : null }} I tries entering null, inherit, transparent but none of them seems to give the actual color. I already have colors based on some configurations how can I get the actual color there

I tried entering null, inherit, transparent. Is there any other keyword that I can use to get the actual color. When I don't put anything in there it will be default as yellow

发布评论

评论列表(0)

  1. 暂无评论