Having an issue with Apache Echarts. I'm getting the error message "Legend data should be same with series name or data name" even though my series name and legend data names match. The chart is not printing correctly. Can anyone identify where I am going wrong?
https://i.sstatic.net/f5HIwRx6.png
Attached is a screenshot of the error for reference.
API Data
{
"AppData": {
"data": [
{
"name": "CNF",
"id": "CNF",
"category": 1,
"value": 0
},
...
],
...
}
}
component.html
<div class="networkGraphDiv">
<div id="networkGraph" style="width: 100%; overflow: auto; height: 100%"></div>
</div>
component.ts
// Component code here...