quick fix

This commit is contained in:
szymonj98 2023-06-15 21:13:46 +02:00
parent f05b14bd10
commit ab794287ea

View File

@ -131,8 +131,8 @@ export class IronyAnalysisComponent implements OnInit {
this.analysisLoading = true;
this.analysisResults = resp.predictions;
this.ironyBarChartData.datasets = [
{ data: [resp.count_labels.irony], label: String(resp.count_labels.non_irony) + ' brak ironii', backgroundColor: 'rgb(196, 196, 196)', borderRadius: 15, },
{ data: [resp.count_labels.non_irony], label: String(resp.count_labels.irony) + ' ironia', backgroundColor: '#65dec2', borderRadius: 15, },
{ data: [resp.count_labels.irony], label: String(resp.count_labels.non_irony) + ' brak ironii', backgroundColor: '#65dec2 ', borderRadius: 15, },
{ data: [resp.count_labels.non_irony], label: String(resp.count_labels.irony) + ' ironia', backgroundColor: 'rgb(196, 196, 196)', borderRadius: 15, },
]
},
error: () => {