页面树结构
转至元数据结尾
转至元数据起始

示例说明:
可以通过扩展属性设置地图分析只显示值,如下图:


属性代码:

{
    plotOptions: {
        map: {
            tooltip: {
                pointFormat: '<span style="font-size: 12px; color:{point.color};">{point.displayValue}</span><br/>'
            }
        }
    }
}

 


属性说明:

属性名称

属性描述

属性语法

pointFormat

设置鼠标提示样式和内容。根据html设置各种样式。

  • font-size:字体大小
  • color:字体颜色
  • point.color对应鼠标选中区域颜色
  • point.displayValue:对应鼠标选中指标值

{

    plotOptions: {

        map: {

            tooltip: {

                pointFormat: '<span style="font-size: 12px; color:{point.color};">{point.displayValue}</span><br/>'

            }

        }

    }

}

  • 无标签