fix: bug修复、地图色阶初版

This commit is contained in:
chenjinsong
2021-08-13 18:57:49 +08:00
parent c1bcc9394d
commit aa2d485f48
8 changed files with 51 additions and 46 deletions

View File

@@ -245,39 +245,23 @@ const singleValueLine = {
animation: false,
grid: {
left: 0,
bottom: 0,
bottom: 2,
top: 5,
right: 0
},
color: chartColor,
legend: {
tooltip: {
show: true,
formatter: '{a}'
},
show: false,
right: 23,
top: 8,
orient: 'horizontal',
icon: 'circle',
itemGap: 20,
itemWidth: 10,
textStyle: {
padding: [0, 0, 0, 5],
fontSize: 14
},
formatter: tooLongFormatter
show: false
},
series: [
{
name: '访问用户量',
type: 'line',
smooth: true,
legendHoverLink: false,
itemStyle: {
normal: {
color: '#81C9FF',
lineStyle: {
width:2
width: 2
}
}
},