Home › forums › Using CanvasJS › Canvas Data
Hello CanvasJs team,
In this snippet I have my data like
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.
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.
You must be logged in to reply to this topic.