You must be logged in to post your query.
Home › Forums › Chart Support › Canvas Data
Hello CanvasJs team,
https://jsfiddle.net/udwg89jc/
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
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.
—- Manoj Mohan Team CanvasJS
You must be logged in to reply to this topic. Login/Register