Hi, I guess the problem is, you are passing string data rather than integer. Please try the following.
tbuff=["20","40","20"];
var series= [
{
name: 'PhaseVolatges&Currents',
data: [50]
}, {
name: 'DC Bus Voltage',
data: [parseInt(tbuff[1])]
}, {
name: 'LoadCurrent',
data: [parseInt(tbuff[2])]
}, {
name: 'BatteryCurrent',
data: [parseInt(tbuff[3])]
}, {
name: 'DC RectifierO/PCurrent',
data: [parseInt(tbuff[4])]"
}
];
Note: Convert the data input into Integer for showing the chat.
I hope this will help you. Please let me know if you are still facing the same issue after the changes.