Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
Some category showing Others and comes blank with "Undefined" for the number
posted

I have a doughnut chart on my page that I am filling with a data service. Once my data comes back, I have 4 items. With my current test data, 2 of them are small enough that the doughnut chart combines them into "Other". However, the number is displayed as "undefined". Here is the code for filling the chart:

Here is the test data I have:

[
  {
  
    "Process": [
      {
        "DeliveryStatus": "DELIVERED",
        "StatusCount": 49
      },
      {
        "DeliveryStatus": "NEW",
        "StatusCount": 39
      },
      {
        "DeliveryStatus": "OPEN",
        "StatusCount": 2
      },
      {
        "DeliveryStatus": "PROCESSED",
        "StatusCount": 2
      }
    ]
  }
]

Here, i attached the screenshot . Why is Others undefined?