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

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

    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

    @Ravneet03,

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


    Vishwas R
    Team CanvasJS

    #15125

    Thanks! Vishwas

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

You must be logged in to reply to this topic.