Commit 2348a774 authored by 徐来柯's avatar 徐来柯

update

parent a2a0c404
......@@ -9,40 +9,59 @@
/* 右侧第二个 */
let rightChart2 = echarts.init(document.getElementById('right2'));
let rightOption2= {
color: '#FC962C',
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
type: 'none'
}
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
xAxis: {
show: false,
type: 'value',
boundaryGap: [0, 0.01]
},
yAxis: {
type: 'category',
splitLine: {
show: false
},
axisLine: {
show: false
},
axisTick: {
show: false
},
axisLabel: {
color: '#fff',
yAxis: [
{
type: 'category',
inverse: true,
splitLine: {
show: false
},
axisLine: {
show: false
},
axisTick: {
show: false
},
axisLabel: {
color: '#fff',
},
data: ['类型1', '类型2', '类型3', '类型4', '类型5', '类型6']
},
data: ['类型1', '类型2', '类型3', '类型4', '类型5', '类型6']
},
{
type: 'category',
axisLine: {
show: false
},
axisTick: {
show: false
},
axisLabel: {
show: true,
inside: false,
textStyle: {
color: '#F5BD5F',
},
},
splitArea: {
show: false
},
splitLine: {
show: false
},
data: [18203, 23489, 29034, 104970, 131744, 630230]
}
],
grid: {
top: 0,
left: 60,
......@@ -51,14 +70,17 @@ let rightOption2= {
},
series: [
{
name: '2011',
barWidth: 6,
barWidth: 4,
showBackground: true,
type: 'bar',
label: {
show: true,
color: '#F5BD5F',
position: 'outside'
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
offset: 0,
color: '#F1912E'
}, {
offset: 1,
color: "#ECB85F"
}], false),
},
data: [18203, 23489, 29034, 104970, 131744, 630230]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment