提交 459e5956 编写于 作者: F fengyw

概况增加注册人数的查看

上级 beff6f8b
......@@ -43,9 +43,6 @@ export default {
}
}
};
</script>
<script setup>
</script>
<style lang="scss" scoped>
......@@ -56,9 +53,5 @@ export default {
border-left: 5px solid #50bfff;
border-radius: 4px;
font-size: 16px;
span {
}
}
</style>
......@@ -30,41 +30,38 @@ export default {
this.parseOption()
},
methods: {
parseOption: function() {
parseOption() {
const option = {
title: {
// text: '统计'
},
tooltip: {
trigger: 'axis'
},
legend: {
data: ['登录人数', '注册人数']
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
yAxis: {
type: 'value'
},
xAxis: {
type: 'category',
axisTick: {show: false},
data: this.data.dateList
},
yAxis: {
type: 'value'
},
series: [
{
name: '登录人数',
type: 'line',
data: this.data.loginList
data: this.data.loginList,
label: {
show: false,
position: 'center'
}
},
{
name: '注册人数',
type: 'line',
data: this.data.registerList
}
]
};
this.myChart.setOption(option)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册