hl-stone commented on issue #7992: 地图的标签内容格式器不生效
URL: 
https://github.com/apache/incubator-echarts/issues/7992#issuecomment-380639764
 
 
   @chfw 确实是有问题,使用如下代码,选中中间根本不好使,难道要采用 data 里面的 selected 吗?
   geo: {
         show: true,
         type: "map",
         map: "world",
         roam: false,
         nameMap: nameMap,
         label: {
           normal: { show: false, color: "#fff" },
           emphasis: { show: true, color: "#fff" }
         },
         itemStyle: {
           normal: { areaColor: "#0583e9", borderColor: "#1ab7fd" },
           emphasis: { areaColor: "#2a333d" }
         },
          regions:[{
                name: '中国',
                itemStyle:{
                        areaColor: 'red'
                },
                label:{
                        show: true
                }
          }]
       },

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org

Reply via email to