|
|
@@ -98,15 +98,15 @@ export class MessageDashboardComponent implements OnInit {
|
|
|
yAxisID: 'y',
|
|
|
},
|
|
|
{
|
|
|
- label: '已打开',
|
|
|
+ label: '展示数',
|
|
|
data: [],
|
|
|
- backgroundColor: '#722ed1',
|
|
|
+ backgroundColor: '#faad14',
|
|
|
yAxisID: 'y',
|
|
|
},
|
|
|
{
|
|
|
- label: '展示数',
|
|
|
+ label: '点击数',
|
|
|
data: [],
|
|
|
- backgroundColor: '#faad14',
|
|
|
+ backgroundColor: '#722ed1',
|
|
|
yAxisID: 'y',
|
|
|
},
|
|
|
{
|
|
|
@@ -306,14 +306,14 @@ export class MessageDashboardComponent implements OnInit {
|
|
|
...this.combinedChartData.datasets[2],
|
|
|
data: this.dailyTrends.map((t) => t.delivered || 0),
|
|
|
},
|
|
|
- {
|
|
|
- ...this.combinedChartData.datasets[3],
|
|
|
- data: this.dailyTrends.map((t) => t.opened || 0),
|
|
|
- },
|
|
|
{
|
|
|
...this.combinedChartData.datasets[4],
|
|
|
data: this.dailyTrends.map((t) => t.displayCount || 0),
|
|
|
},
|
|
|
+ {
|
|
|
+ ...this.combinedChartData.datasets[3],
|
|
|
+ data: this.dailyTrends.map((t) => t.opened || 0),
|
|
|
+ },
|
|
|
{
|
|
|
...this.combinedChartData.datasets[5],
|
|
|
data: this.dailyTrends.map((t) => t.failed || 0),
|