show_markers

shows/hides markers on the page

boolean show_markers;

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

Related samples

Details

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.

See also
Back to top