Home forums Using CanvasJS Set XAxis Value to start at 0

This topic contains 2 replies, has 2 voices, and was last updated by  Extrabeefy 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11292

    Extrabeefy
    Member

    Hey All,

    I was wondering if there is a way to set the XAxis and Y Axis to start at 0. Currently they both start at whatever there lowest value is in the dataPoints be that 0, 0.2, 0.5.

    Thanks for the help!
    -Extrabeefy

    #11295

    Vishwas R
    Keymaster

    Extrabeefy,

    You can set axisX minimum and axisY minimum to 0 to make both axis start from 0.

    #11315

    Extrabeefy
    Member

    Ah ok thank you from the example I figured it meant if I didn’t have a value of 0 then it would show 0.2. Thank you!

    • This reply was modified 6 months ago by  Extrabeefy.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.