I want to hide none business hours in gantt chart. I don’t see any documentation regarding that. So can you provide documentation regarding that.
You can create your own timeline using "timeline" property (set scale to "Manual").
Or you can use the showNonBusiness property of the underlying "scheduler" object of the DayPilot.Gantt class.