Samyukta,
In the JSFiddle that you have shared, the issue seems to be with the approach of looping through ‘Values’ object. Iterating through Values object properly seems to be working fine.
for (var key in Values) {
if (Values.hasOwnProperty(key)) {
console.log(key + " -> " + Values[key]);
}
}
Please refer to this stackoverflow thread for more information on iterating through the properties of a JavaScript object.
If you are still facing issue, kindly brief us more about it so that we can understand it better and help you resolve.
—
Vishwas R
Team CanvasJS