Skip to main content

show_markers

Description

Shows/hides markers on the page

show_markers: boolean

Example

var marker1 = gantt.addMarker({ ...}); 
var marker2 = gantt.addMarker({ ...});
var marker3 = gantt.addMarker({ ...});

gantt.config.show_markers = false;// hides all 3 markers

Default value: true

Details

note

This option is defined in the marker extension, so you need to enable the marker plugin. Read the details in the Adding Vertical Markers article.