score:1

Accepted answer

you can use breaks to hide weekends on the chart. below you can find an example how to use breaks, but you can also create a function which would insert a break in every weekend:

xaxis: [{
    breaks: [{
        from: date.utc(2018, 11, 8),
        to: date.utc(2018, 11, 10),
        breaksize: 0
    }]
}, {
    visible: false
}]

live demo: https://jsfiddle.net/blacklabel/se1vl6mx/

api: https://api.highcharts.com/gantt/xaxis.breaks


Related Query

More Query from same tag