Home Forums Chart Support doubt regarding graph plot

doubt regarding graph plot

Viewing 2 posts - 1 through 2 (of 2 total)
  • #26885

    Hello Canvas Js team,

    https://jsfiddle.net/j47nr96o/1/

    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)?

    Thanks,
    Tejal

    #26919

    Tejal,

    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.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.