Home › Forums › Chart Support › A variable for dataPoints › Reply To: A variable for dataPoints
@rietveld,
Datapoint y-value should be number, but in your case its string. Converting string values to number before assigning them to “y” should work fine in your case. dps.push({label: item.Name, y: Number(item.Total) });
dps.push({label: item.Name, y: Number(item.Total) });
— Vishwas R Team CanvasJS