0๐
- try
Please tried as mentioned bellow.
var confirmadosChartData = this.confirmadosChartData;
than assign it value
confirmadosChartData [0][0] = data.Confirmadas; confirmadosChartData
[0][1] = data. Oportunidades;
re assign it.
this.confirmadosChartData =confirmadosChartData;
- First try to empty array and than assign the value.
this.confirmadosChartData = [] [];
const data: any = x.ResponseData;
this.confirmadosChartData[0][0] = data.Confirmadas;
this.confirmadosChartData[0][1] = data.Oportunidades;
Source:stackexchange.com