Home › forums › Using CanvasJS › doubt regarding graph plot
This topic contains 1 reply, has 2 voices, and was last updated by Manoj Mohan 3 weeks, 6 days ago.
Hello Canvas Js team,
Just want to know , in above snippet why my graph starts from the second 0th coordinate instead of first 0th coordinate(which appears extreme left side of my graph)?
The value 0 (zero) towards left of the axisY is the label of axisY whereras the value 0 (zero) below the axisX is the label of axisX. As both the values x & y of dataPoint are 0 (zero), the dataSeries line is being drawn from (0,0) co-ordinate. If you like the axisX scale to be started from 0, you can set minimum of axisX to 0.
You must be logged in to reply to this topic.