0๐
โ
I find solution by doing that :
[datasets]="[
{
data: [ graphikElec[0],
graphikElec[1],
graphikElec[2],
graphikElec[3],
graphikElec[4],
graphikElec[5],
graphikElec[6],
graphikElec[7],
graphikElec[8],
graphikElec[9]
],
label: 'kWh'
},
Source:stackexchange.com