Home forums Using CanvasJS Pie Chart With Dynamic Data Reply To: Pie Chart With Dynamic Data

#5603

JipThePeople
Participant

Line 18 is where I think the issue is.

// S/B formatted like this: { y: 10, indexLabel: “Writing (1)” }
dps.push([‘\{ y: ‘ + Number(value) + ‘, indexLabel: \”‘ + key + ‘ (‘ + value + ‘)\” \}’ ]);

I would really appreciate any feedback.