score:0

Accepted answer

I found the solution which I was looking for and thought of sharing with you all if it be of any help to anyone someday.

Please find the working solution here => JSFiddle Solution

Below is the solution of hiding the axis line and labels without effecting the gridlines:

yAxis: {
    title: {
        text: 'Weight (kg)'
    },
    labels: {
        enabled: false
    },
    lineColor: 'transparent'
},

score:1

According to this document To hide labels we need to labels object and in that object need to pass enabled: false

    yAxis: {
        title: {
            text: 'Weight (kg)'
        },
        labels: {
            enabled: false
        }
    },

Highcharts Demo


Related Query

More Query from same tag