Home forums Using CanvasJS Grid line at every 1 point and Y axis label at every 5 point

This topic contains 2 replies, has 2 voices, and was last updated by  Ravneet03 1 month, 1 week ago.

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

    Ravneet03
    Member

    I wish to display my chart in which Grid line parallel to X axis is displayed at every 1 point but label on Y axis is displayed only at every 5 point(s). e.g. A chart in which Y axis label is displayed as 0,5,10… but there are 4 grid lines parallel to X axis between 0 and 5, 5 and 10, so on…. Please help

    #15093

    Vishwas R
    Keymaster

    @ravneet03,

    You can achieve this by using interval along with labelFormatter. Please check this jsfiddle.


    Vishwas R
    Team CanvasJS

    #15125

    Ravneet03
    Member

    Thanks! Vishwas

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

You must be logged in to reply to this topic.