In this snippet I have my data like
data=[
{
“y”: 42793.8129558912,
“value”: null,
“label”: 0,
“nodeName”: “AVL_INDEP_TIME”,
“xUnitName”: “Unknown”,
“count”: 1,
}
];
which does not have x key in it. But after render it automatically inserts x key in my data.I don’t want x key. How can I avoid this.
Please check console.log for this.
Thanks,
Tejal
When just labels are passed without x-values, x-values are automatically added in successive order as 0,1,2,3,4… You can overcome it by passing the values to the x property instead of label.