forked from apache/echarts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
3,562 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
module.exports = { | ||
grid: { | ||
left: '3%', | ||
right: '4%', | ||
bottom: '3%', | ||
containLabel: true | ||
}, | ||
xAxis: { | ||
type: 'category', | ||
boundaryGap: false, | ||
data: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday','Sunday'] | ||
}, | ||
yAxis: { | ||
type: 'value', | ||
splitNumber: 3 | ||
}, | ||
series: [ | ||
{ | ||
name:'邮件营销', | ||
type:'line', | ||
stack: '总量', | ||
areaStyle: {normal: {}}, | ||
data:[120, 132, 101, 134, 90, 230, 210] | ||
}, | ||
{ | ||
name:'联盟广告', | ||
type:'line', | ||
stack: '总量', | ||
areaStyle: {normal: {}}, | ||
data:[220, 182, 191, 234, 290, 330, 310] | ||
}, | ||
{ | ||
name:'视频广告', | ||
type:'line', | ||
stack: '总量', | ||
areaStyle: {normal: {}}, | ||
data:[150, 232, 201, 154, 190, 330, 410] | ||
}, | ||
{ | ||
name:'直接访问', | ||
type:'line', | ||
stack: '总量', | ||
areaStyle: {normal: {}}, | ||
data:[320, 332, 301, 334, 390, 330, 320] | ||
}, | ||
{ | ||
name:'搜索引擎', | ||
type:'line', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'top' | ||
} | ||
}, | ||
areaStyle: {normal: {}}, | ||
data:[820, 932, 901, 934, 1290, 1330, 1320] | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
module.exports = { | ||
grid: { | ||
left: '13%', | ||
right: '5%', | ||
bottom: '5%' | ||
}, | ||
xAxis: { | ||
type: 'value' | ||
}, | ||
yAxis: { | ||
type: 'category', | ||
data: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday','Sunday'] | ||
}, | ||
series: [ | ||
{ | ||
name:'直接访问', | ||
type:'bar', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'insideRight' | ||
} | ||
}, | ||
data:[320, 302, 301, 334, 390, 330, 320] | ||
}, | ||
{ | ||
name:'邮件营销', | ||
type:'bar', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'insideRight' | ||
} | ||
}, | ||
data:[120, 132, 101, 134, 90, 230, 210] | ||
}, | ||
{ | ||
name:'联盟广告', | ||
type:'bar', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'insideRight' | ||
} | ||
}, | ||
data:[220, 182, 191, 234, 290, 330, 310] | ||
}, | ||
{ | ||
name:'视频广告', | ||
type:'bar', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'insideRight' | ||
} | ||
}, | ||
data:[150, 212, 201, 154, 190, 330, 410] | ||
}, | ||
{ | ||
name:'搜索引擎', | ||
type:'bar', | ||
stack: '总量', | ||
label: { | ||
normal: { | ||
show: true, | ||
position: 'insideRight' | ||
} | ||
}, | ||
data:[820, 832, 901, 934, 1290, 1330, 1320] | ||
} | ||
] | ||
}; |
Oops, something went wrong.