Here is the solution:
dps.push({ y: Number(value), indexLabel: key + ‘(‘ + value + ‘)’});
I was not building the array the right way. I was putting text elements in it where I needed to put objects in it.
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.
http://jsfiddle.net/cgtrman/J4YLV/10/