In the list of views, find Detail Gantt and click Apply. In the diagram, critical tasks will be highlighted with a red fill color, and the total slack of tasks will be displayed with a black line after the task with the specified number of days (hours, weeks…) of reserve: