Home › forums › Using CanvasJS › Canvas Data
This topic contains 1 reply, has 2 voices, and was last updated by Manoj Mohan 2 months, 3 weeks ago.
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.