lily.zhang 4 years ago
parent 43f612cac3
commit cce76c8aed

@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-10-09 11:01:19
* @LastEditTime: 2021-10-15 15:45:33
* @LastEditTime: 2021-10-15 15:51:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: /data-show/src/views/Index/spreadTheSound/opt.js
@ -9,10 +9,10 @@
export default function createOpt() {
return {
grid: {
left: '3%',
right: '6%',
bottom: '3%',
top: '22%',
left: 16,
right: 16,
bottom: 16,
top: 56,
containLabel: true
},
tooltip: {
@ -43,7 +43,7 @@ export default function createOpt() {
color: "#fff",
},
},
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri']
data: ['汽车之家', '懂车帝', '腾讯新闻', '凤凰网', '新浪微博']
},
yAxis: {
type: 'value',
@ -62,7 +62,7 @@ export default function createOpt() {
},
series: [
{
name: 'Direct',
name: '奥迪',
type: 'bar',
stack: 'total',
barWidth: 24,
@ -72,7 +72,7 @@ export default function createOpt() {
data: [320, 302, 301, 334, 390]
},
{
name: 'Mail Ad',
name: '宝马',
type: 'bar',
stack: 'total',
barWidth: 24,
@ -82,7 +82,7 @@ export default function createOpt() {
data: [120, 132, 101, 134, 90]
},
{
name: 'Affiliate Ad',
name: '奔驰',
type: 'bar',
stack: 'total',
barWidth: 24,
@ -92,7 +92,7 @@ export default function createOpt() {
data: [220, 182, 191, 234, 290]
},
{
name: 'Video Ad',
name: '吉利',
type: 'bar',
stack: 'total',
barWidth: 24,
@ -102,7 +102,7 @@ export default function createOpt() {
data: [150, 212, 201, 154, 190]
},
{
name: 'Search Engine',
name: '大众',
type: 'bar',
stack: 'total',
barWidth: 24,
@ -110,7 +110,17 @@ export default function createOpt() {
focus: 'series'
},
data: [820, 832, 901, 934, 1290]
}
},
{
name: '别克',
type: 'bar',
stack: 'total',
barWidth: 24,
emphasis: {
focus: 'series'
},
data: [820, 832, 901, 934, 1290]
}
]
}

Loading…
Cancel
Save