Currently, I am working with JSON. However, I have encountered an issue where I declared some values to be passed to a chart. Although the values are being read correctly, when they are passed to the chart, a runtime error is produced indicating that they are NaN (Not a Number). Below is a snippet of my JSON file:
{
data: [
{
"value": 100
},
{
"value": 140
},
{
"value": 70
},
{
"value": 200
},
{
"value": 50
},
{
"value": 120
}]
}
I would appreciate it if someone could help me identify the problem or provide guidance on how to properly include number data in JSON.