deleteMarker

지정된 마커를 제거합니다

void deleteMarker(string | number markerId);
markerIdstring | number마커의 ID

Example

const todayMarker = gantt.addMarker({
    start_date: new Date(),
    css: "today",
    title:date_to_str( new Date())
});
gantt.deleteMarker(todayMarker);

Related samples

Details

이 메서드는 marker 확장의 일부이므로, 반드시 marker 플러그인을 활성화해야 합니다. 자세한 내용은 수직 마커 추가하기 문서에서 확인할 수 있습니다.

See also
Back to top