diff --git a/src/views/PlatformData/UserActivityStats.vue b/src/views/PlatformData/UserActivityStats.vue index a6c532d..82aeb83 100644 --- a/src/views/PlatformData/UserActivityStats.vue +++ b/src/views/PlatformData/UserActivityStats.vue @@ -23,7 +23,7 @@
每日 - 近七日 + 近三十日
@@ -282,25 +282,15 @@ const updateChart = (data) => { boundaryGap: false, data: dates }, - yAxis: [ - { - type: 'value', - min: 0, - position: 'left', - axisLabel: { formatter: '{value}' } - }, - { - type: 'value', - min: 0, - position: 'right', - axisLabel: { formatter: '{value}' } - } - ], + yAxis: { + type: 'value', + min: 0, + axisLabel: { formatter: '{value}' } + }, series: [ { name: 'DeepChart活跃人数', type: 'line', - yAxisIndex: 0, data: activeUsers, itemStyle: { color: '#e74c3c' }, symbol: 'circle', @@ -310,7 +300,6 @@ const updateChart = (data) => { { name: 'DeepChart使用次数', type: 'line', - yAxisIndex: 1, data: useCounts, itemStyle: { color: '#2ecc71' }, symbol: 'circle',