fix: bug修复、地图色阶初版
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -40,6 +40,11 @@
|
||||
border-radius: 2px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
.chart-drawing {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
&>.cn-chart__echarts, &>.cn-chart__table, &>.cn-chart__map {
|
||||
display: flex;
|
||||
@@ -62,11 +67,6 @@
|
||||
}
|
||||
.cn-chart__body {
|
||||
flex: auto;
|
||||
|
||||
.chart-drawing {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&>.cn-chart__single-value.cn-chart__single-value--icon-left {
|
||||
|
||||
Reference in New Issue
Block a user