Update You need to convert the data in the below format.
data: [{
name: 'Chrome',
y: 61.41,
sliced: true,
selected: true
}, {
name: 'Internet Explorer',
y: 11.84
}]
Which you can do using the below code. note that I have used array.map function to convert the data format.
@wire(AccountDataNew, {accountId : '$recordid'})
AccountData({error,data}){
if(data){
this.data = data.map(record => {
return {
y: record.data,
name: record.Name
}
});
console.log("++++Data++++",data);
this.error=undefined;
this.runHighcharts();
}
else if (error) {
this.error = error;
this.partnerSpend = undefined;
}
}