export const dfOption = {
tooltip: {
formatter: function(params, ticket, callback) {
return params.name + ":" + params.value;
} // 数据格式化
},
visualMap: {
min: 0,
max: 100,
right: 10,
top: "bottom",
itemWidth: 10,
text: ["100", "数量"], // 取值范围的文字
textStyle: {
color: "#fff",
fontSize: "10"
},
inRange: {
color: ["#f8f2f6 ", "#4d3998", "#442a53", "#963062", "#783164", "#6e294f"] // 取值范围的颜色
},
show: true // 图注
},
geo: {
map: "df",
roam: false, // 不开启缩放和平移
zoom: 1.1, // 视角缩放比例
top: 50,
aspectScale: 1.5,
label: {
normal: