散点图测试

This commit is contained in:
lzc 2025-03-11 16:56:54 +08:00
parent 197ea5d1a4
commit d708f0454d

View File

@ -20,7 +20,7 @@ const initChart = () => {
//
const option = {
title: {
text: '耿马县地图散点图',
text: '',
left: 'center',
},
tooltip: {
@ -33,14 +33,14 @@ const initChart = () => {
},
},
toolbox: {
show: true,
show: false,
orient: 'vertical',
left: 'right',
top: 'center',
feature: {
dataView: { readOnly: false },
restore: {},
saveAsImage: {},
// dataView: { readOnly: false },
// restore: {},
// saveAsImage: {},
},
},
geo: {
@ -72,10 +72,10 @@ const initChart = () => {
borderWidth: 1, //
areaColor: 'transparent', //
},
emphasis: {
borderColor: '#fff',
borderWidth: 2,
},
// emphasis: {
// borderColor: '#fff',
// borderWidth: 2,
// },
},
},
//
@ -113,7 +113,7 @@ const initChart = () => {
scale: 3, //
brushType: 'stroke', // 'stroke' 'fill'
},
hoverAnimation: true,
hoverAnimation: false,
},
],
};